aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-06-19 00:37:52 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-06-19 00:37:52 +1200
commitc6cd8d9d9213ef68f6998c6d54b652fd2bb785bc (patch)
tree890c36409f6c7d0f37763aea634c29ee279d9ce9
parentMerge branch 'release/v2.1.0' into develop (diff)
downloadvim-cursorline-current-c6cd8d9d9213ef68f6998c6d54b652fd2bb785bc.tar.gz
vim-cursorline-current-c6cd8d9d9213ef68f6998c6d54b652fd2bb785bc.zip
Simplify 'cursorline' reset syntax
-rw-r--r--plugin/cursorline_current.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/cursorline_current.vim b/plugin/cursorline_current.vim
index 0b698e3..27cc1a0 100644
--- a/plugin/cursorline_current.vim
+++ b/plugin/cursorline_current.vim
@@ -27,7 +27,7 @@ augroup cursorline_current
" to the same as the global value, to correspond with an active state.
"
autocmd BufEnter,FocusGained,InsertLeave,WinEnter *
- \ if &g:cursorline | setlocal cursorline | endif
+ \ setlocal cursorline<
" On leaving a buffer, the Vim application window losing focus, entering
" insert mode, or leaving a window, turn off the 'cursorline' option for the