aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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