Prevent error if foldmethod doesn't work

This commit is contained in:
Anthony Rose 2015-11-03 09:35:22 +00:00
parent c451c9e614
commit 15a6ff7e62

2
vimrc
View file

@ -13,7 +13,6 @@ set cursorline
set directory=$TEMP//,/tmp//,. set directory=$TEMP//,/tmp//,.
set encoding=utf-8 set encoding=utf-8
set expandtab set expandtab
set foldmethod=syntax
set ignorecase set ignorecase
set linebreak set linebreak
set list set list
@ -32,6 +31,7 @@ set ttyfast
set wrap set wrap
silent! colorscheme desert silent! colorscheme desert
silent! filetype plugin indent on silent! filetype plugin indent on
silent! set foldmethod=syntax
silent! syntax on silent! syntax on
if has("gui_running") if has("gui_running")