From c6cd8d9d9213ef68f6998c6d54b652fd2bb785bc Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Wed, 19 Jun 2019 00:37:52 +1200 Subject: Simplify 'cursorline' reset syntax --- plugin/cursorline_current.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3