diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-08-04 21:10:39 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-08-04 21:10:39 +1200 |
commit | 70eb3eaaecfce486ce6df4a141d3d4d1bec30e0b (patch) | |
tree | 0c81121eb3634dda8afe8a36e92bdcde752a25c5 | |
parent | First version (diff) | |
parent | Bump VERSION (diff) | |
download | vim-cursorline-current-70eb3eaaecfce486ce6df4a141d3d4d1bec30e0b.tar.gz vim-cursorline-current-70eb3eaaecfce486ce6df4a141d3d4d1bec30e0b.zip |
Merge branch 'hotfix/v0.1.1'v0.1.1
* hotfix/v0.1.1:
Bump VERSION
Correct backwards loop-skipping condition
-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' |