mirror of
https://github.com/ViViDboarder/vim-settings.git
synced 2025-01-08 10:47:35 +00:00
Wrap color theme with try/catch to prevent errors on initial run
This commit is contained in:
parent
48336345ab
commit
714bd966bc
@ -64,7 +64,12 @@ set directory=~/.vim/tmp
|
|||||||
|
|
||||||
|
|
||||||
"set theme
|
"set theme
|
||||||
:colorscheme vividchalk
|
try
|
||||||
|
colorscheme vividchalk
|
||||||
|
catch /^Vim\%((\a\+)\)\=:E185/
|
||||||
|
" deal with it
|
||||||
|
endtry
|
||||||
|
|
||||||
"Highlights the line the cursor is on
|
"Highlights the line the cursor is on
|
||||||
set cursorline
|
set cursorline
|
||||||
:hi CursorLine cterm=NONE ctermbg=darkred guibg=darkred guifg=white
|
:hi CursorLine cterm=NONE ctermbg=darkred guibg=darkred guifg=white
|
||||||
|
Loading…
Reference in New Issue
Block a user