aboutsummaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-08-04 21:10:52 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-08-04 21:10:52 +1200
commitcf94ffc168e22ab91d93a8d378e2bd99f13cf770 (patch)
tree0c81121eb3634dda8afe8a36e92bdcde752a25c5 /plugin
parentFirst version (diff)
parentBump VERSION (diff)
downloadvim-cursorline-current-cf94ffc168e22ab91d93a8d378e2bd99f13cf770.tar.gz
vim-cursorline-current-cf94ffc168e22ab91d93a8d378e2bd99f13cf770.zip
Merge branch 'hotfix/v0.1.1' into develop
* hotfix/v0.1.1: Bump VERSION Correct backwards loop-skipping condition
Diffstat (limited to 'plugin')
-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 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'