Skip to content

Commit

Permalink
Merge pull request wklken#41 from ruanyl/master
Browse files Browse the repository at this point in the history
change the way of version detect for undo persistence
  • Loading branch information
wklken committed Sep 6, 2014
2 parents d2834d1 + 0bec13a commit 36879f8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,11 @@ set noswapfile


"create undo file
set undolevels=1000 " How many undos
set undoreload=10000 " number of lines to save for undo
if v:version >= 730
    set undofile " keep a persistent backup file
set undodir=/tmp/vimundo/
if has('persistent_undo')
set undolevels=1000 " How many undos
set undoreload=10000 " number of lines to save for undo
set undofile " So is persistent undo ...
set undodir=/tmp/vimundo/
endif

set wildignore=*.swp,*.bak,*.pyc,*.class,.svn
Expand Down

0 comments on commit 36879f8

Please sign in to comment.