aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-08-04 20:25:18 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-08-04 20:25:18 +1200
commit382f066c7e2cf868c6160fd9a344926ba0c78d7e (patch)
tree8815cf7879da82a9d55d88ae1aa8b8e695f2b97d
parentAdd cursorline_current.vim plugin (diff)
downloaddotfiles-382f066c7e2cf868c6160fd9a344926ba0c78d7e.tar.gz
dotfiles-382f066c7e2cf868c6160fd9a344926ba0c78d7e.zip
Require Vim 7 for cursorline_current.vim
Most of the autocmd events are Vim 7, and there's a :for there too.
-rw-r--r--vim/plugin/cursorline_current.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/vim/plugin/cursorline_current.vim b/vim/plugin/cursorline_current.vim
index 1ebf5821..a076bd97 100644
--- a/vim/plugin/cursorline_current.vim
+++ b/vim/plugin/cursorline_current.vim
@@ -9,7 +9,7 @@
if exists('g:loaded_cursorline_current') || &compatible
finish
endif
-if !has('autocmd') || !has('windows')
+if !has('autocmd') || !has('windows') || v:version < 700
finish
endif
let g:loaded_cursorline_current = 1