try-catch for colour scheme

This commit is contained in:
arcan1s 2015-08-31 06:49:16 +03:00
parent 2791872624
commit ceb0b307ff

6
vimrc
View File

@ -5,7 +5,11 @@ set encoding=utf-8
"" appearance "" appearance
" color scheme " color scheme
set t_Co=256 set t_Co=256
colorscheme advantage try
colorscheme advantage
catch /^Vim\%((\a\+)\)\=:E185/
colorscheme koehler
endtry
" count of lines w\o scrolling at the top and bottom " count of lines w\o scrolling at the top and bottom
set scrolloff=3 set scrolloff=3