Permalink
Browse files

make vimrc compatible with vim 7.2 again

  • Loading branch information...
1 parent d6f9a30 commit 3cc6832ef77515f76d8d7253479d488151458e0d @scrooloose committed Sep 22, 2010
Showing with 6 additions and 4 deletions.
  1. +6 −4 vimrc
View
10 vimrc
@@ -185,11 +185,13 @@ function! s:Median(nums)
endif
endfunction
-"undo settings
-set undodir=~/.vim/undofiles
-set undofile
+if v:version >= 703
+ "undo settings
+ set undodir=~/.vim/undofiles
+ set undofile
-set colorcolumn=+1
+ set colorcolumn=+1
+endif
"indent settings
set shiftwidth=4

0 comments on commit 3cc6832

Please sign in to comment.