From 15a6ff7e627b0c4111dd1b432e6033c02f4d1858 Mon Sep 17 00:00:00 2001 From: Anthony Perkins Date: Tue, 3 Nov 2015 09:35:22 +0000 Subject: [PATCH] Prevent error if foldmethod doesn't work --- vimrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vimrc b/vimrc index 0c4baa1..34dcc59 100644 --- a/vimrc +++ b/vimrc @@ -13,7 +13,6 @@ set cursorline set directory=$TEMP//,/tmp//,. set encoding=utf-8 set expandtab -set foldmethod=syntax set ignorecase set linebreak set list @@ -32,6 +31,7 @@ set ttyfast set wrap silent! colorscheme desert silent! filetype plugin indent on +silent! set foldmethod=syntax silent! syntax on if has("gui_running")