]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
vimrc: Fix assignments outside of if has('eval') block.
authorSimon Ruderich <simon@ruderich.org>
Sat, 20 Oct 2012 10:57:02 +0000 (12:57 +0200)
committerSimon Ruderich <simon@ruderich.org>
Sat, 20 Oct 2012 10:57:02 +0000 (12:57 +0200)
vimrc

diff --git a/vimrc b/vimrc
index cddb965d78d03c1f5e2a067265edd788f2869e60..4f61e5f7de19a05fe02e627aed78bd42390c0f08 100644 (file)
--- a/vimrc
+++ b/vimrc
@@ -786,7 +786,6 @@ if has('eval')
     let g:xptemplate_brace_complete = 0
     " Only highlight the current placeholder.
     let g:xptemplate_highlight = 'current'
-endif
 
 " CtrlP settings.
     " Don't manage the working directory (the default setting is too slow for
@@ -797,6 +796,7 @@ endif
     let g:ctrlp_cache_dir = $HOME . '/.vim/cache/ctrlp'
     " Permanent cache, cleared by a crontab entry.
     let g:ctrlp_clear_cache_on_exit = 0
+endif
 
 
 " AUTO COMMANDS