mirror of
https://github.com/airblade/vim-gitgutter.git
synced 2025-11-08 11:33:48 -05:00
Remove useless comparison
This commit is contained in:
@@ -604,7 +604,7 @@ endfunction
|
|||||||
" Only makes sense for traditional, non-floating preview window.
|
" Only makes sense for traditional, non-floating preview window.
|
||||||
function s:is_preview_window_open()
|
function s:is_preview_window_open()
|
||||||
for i in range(1, winnr('$'))
|
for i in range(1, winnr('$'))
|
||||||
if getwinvar(i, '&previewwindow') == 1
|
if getwinvar(i, '&previewwindow')
|
||||||
return 1
|
return 1
|
||||||
endif
|
endif
|
||||||
endfor
|
endfor
|
||||||
|
|||||||
Reference in New Issue
Block a user