aboutsummaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-05-25 20:32:52 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-05-25 20:32:52 +1200
commitb805ba8dfb90c684888c4abd279dbd14953f930c (patch)
tree3388bb7ff16b4c49731ef9ab70f1c57cfb86b382 /plugin
parentMerge branch 'release/v0.4.0' into develop (diff)
downloadvim-cursorline-current-b805ba8dfb90c684888c4abd279dbd14953f930c.tar.gz
vim-cursorline-current-b805ba8dfb90c684888c4abd279dbd14953f930c.zip
Remove overzealous load guard checks
Diffstat (limited to 'plugin')
-rw-r--r--plugin/cursorline_current.vim5
1 files changed, 1 insertions, 4 deletions
diff --git a/plugin/cursorline_current.vim b/plugin/cursorline_current.vim
index b0c38b4..9cdb25d 100644
--- a/plugin/cursorline_current.vim
+++ b/plugin/cursorline_current.vim
@@ -6,10 +6,7 @@
" Author: Tom Ryder <tom@sanctum.geek.nz>
" License: Same as Vim itself
"
-if exists('loaded_cursorline_current') || &compatible
- finish
-endif
-if !has('autocmd') || !has('windows') || v:version < 700
+if exists('loaded_cursorline_current') || &compatible || v:version < 700
finish
endif
let loaded_cursorline_current = 1