Skip to content

Commit 1bd45c4

Browse files
committed
theme try catch
1 parent 5346edb commit 1bd45c4

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.vimrc

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -99,10 +99,13 @@ map <F5> :w<CR>:!make && ./run<CR>
9999
" Enable syntax highlighting
100100
syntax enable
101101
set t_Co=256
102-
let g:quantum_black=1
103-
set background=dark
104-
colorscheme quantum
105-
let g:airline_theme='quantum'
102+
try
103+
let g:quantum_black=1
104+
set background=dark
105+
colorscheme quantum
106+
let g:airline_theme='quantum'
107+
catch
108+
endtry
106109

107110
" For vim > 8.0 and neovim
108111
if has("termguicolors")

0 commit comments

Comments
 (0)