diff options
-rw-r--r-- | plugin/nextag.vim | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/plugin/nextag.vim b/plugin/nextag.vim index 04c2160..d08bd78 100644 --- a/plugin/nextag.vim +++ b/plugin/nextag.vim @@ -26,7 +26,11 @@ function! s:MoveToSGMLTag(direction, mode) if a:mode ==# 'v' normal! gv endif - let l:visualfix = a:mode ==# 'v' && a:direction ==# 'next' && &selection !=# 'exclusive' ? 1 : 0 + let l:visualfix = a:mode ==# 'v' + \ && a:direction ==# 'next' + \ && &selection !=# 'exclusive' + \ ? 1 + \ : 0 for l:iteration in range(1, v:count1) call search(s:tag, a:direction ==# 'next' ? 'W' : 'Wb') if l:visualfix |