diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-19 00:37:52 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-19 00:37:52 +1200 |
commit | c6cd8d9d9213ef68f6998c6d54b652fd2bb785bc (patch) | |
tree | 890c36409f6c7d0f37763aea634c29ee279d9ce9 | |
parent | Merge branch 'release/v2.1.0' into develop (diff) | |
download | vim-cursorline-current-c6cd8d9d9213ef68f6998c6d54b652fd2bb785bc.tar.gz vim-cursorline-current-c6cd8d9d9213ef68f6998c6d54b652fd2bb785bc.zip |
Simplify 'cursorline' reset syntax
-rw-r--r-- | plugin/cursorline_current.vim | 2 |
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 |