diff options
-rw-r--r-- | VERSION | 2 | ||||
-rw-r--r-- | plugin/cursorline_current.vim | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -1 +1 @@ -0.1.0 +0.1.1 diff --git a/plugin/cursorline_current.vim b/plugin/cursorline_current.vim index e42e96d..8a8ea91 100644 --- a/plugin/cursorline_current.vim +++ b/plugin/cursorline_current.vim @@ -43,7 +43,7 @@ function! s:Load() abort " Iterate through all the windows and suspend all but the current one for l:wnum in range(1, winnr('$')) - if l:wnum != l:wcur + if l:wnum == l:wcur continue endif execute l:wnum . 'wincmd w' |