diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-08-04 21:10:15 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-08-04 21:10:15 +1200 |
commit | c3405f8d8f66d7d25cba97469ddb2e7538cccd69 (patch) | |
tree | 8a4215ac0aa06d08c4c18dae6500000a31e8fe3f /plugin | |
parent | First version (diff) | |
download | vim-cursorline-current-c3405f8d8f66d7d25cba97469ddb2e7538cccd69.tar.gz vim-cursorline-current-c3405f8d8f66d7d25cba97469ddb2e7538cccd69.zip |
Correct backwards loop-skipping condition
Diffstat (limited to 'plugin')
-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 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' |