Make statusline blank in hunk preview window

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.
This commit is contained in:
Andy Stewart
2021-03-15 17:00:33 +00:00
parent 2a0411c10c
commit f3145958dd

View File

@@ -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