aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vim/plugin/undoskip.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/vim/plugin/undoskip.vim b/vim/plugin/undoskip.vim
index 80609433..2f541ebf 100644
--- a/vim/plugin/undoskip.vim
+++ b/vim/plugin/undoskip.vim
@@ -4,7 +4,7 @@
" Author: Tom Ryder <tom@sanctum.geek.nz>
" License: Same as Vim itself
"
-if exists('loaded_undoskip') || &compatible || v:version < 700
+if exists('loaded_undoskip') || &compatible || !has('persistent_undo')
finish
endif
let loaded_undoskip = 1