Skip to content

Commit

Permalink
Make statusline blank in hunk preview window
Browse files Browse the repository at this point in the history
I would prefer to remove the statusline altogether in the hunk preview
window, making it consistent with the floating preview window.  However
I do not think that is possible; the best one can do is make it blank.
  • Loading branch information
airblade committed Mar 15, 2021
1 parent 2a0411c commit f314595
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions autoload/gitgutter/hunk.vim
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,7 @@ function! s:open_hunk_preview_window()
doautocmd WinEnter
set previewwindow
endif
setlocal statusline=%{''}
if exists('*win_getid')
let s:winid = win_getid()
else
Expand Down

0 comments on commit f314595

Please sign in to comment.