Skip to content

Commit

Permalink
Remove useless comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
airblade committed Apr 22, 2021
1 parent 66bafa5 commit f4bdaa4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoload/gitgutter/hunk.vim
Original file line number Diff line number Diff line change
Expand Up @@ -604,7 +604,7 @@ endfunction
" Only makes sense for traditional, non-floating preview window.
function s:is_preview_window_open()
for i in range(1, winnr('$'))
if getwinvar(i, '&previewwindow') == 1
if getwinvar(i, '&previewwindow')
return 1
endif
endfor
Expand Down

0 comments on commit f4bdaa4

Please sign in to comment.