summaryrefslogtreecommitdiffstats
path: root/.vimrc
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2013-03-06 13:03:24 +0100
committerFlorian Pritz <bluewind@xinu.at>2013-03-06 13:03:24 +0100
commit96741c05fb309655135a455036dd09018a22f1d1 (patch)
treec63fbf58c3d89512f5723191a3b3603714f5a7fa /.vimrc
parent197ad439be1131ffd2783c1930ea6987b75f5383 (diff)
downloaddotfiles-96741c05fb309655135a455036dd09018a22f1d1.tar.gz
dotfiles-96741c05fb309655135a455036dd09018a22f1d1.tar.xz
vimrc: fix undofile condtion
vim 7.3 is 703 not 730 and checking for features if better Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to '.vimrc')
-rw-r--r--.vimrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/.vimrc b/.vimrc
index 3db2d2d..2df499b 100644
--- a/.vimrc
+++ b/.vimrc
@@ -32,7 +32,7 @@ set display=uhex
set listchars=tab:>\ ,eol:$
set hidden
set display+=lastline
-if version >= 730
+if exists("+undofile")
set undofile
endif