Disable winbar on neovim 0.8.0 and later (#387)

This commit is contained in:
Amadeus Demarzi
2025-05-16 15:45:41 -07:00
committed by GitHub
parent ea2ff43e09
commit b4bf17473a

View File

@@ -844,6 +844,10 @@ function! s:do_offscreen_popup_nvim(offscreen) abort " {{{1
if &cursorline
call nvim_win_set_option(s:float_id, 'cursorline', v:false)
endif
" winbar was added in nvim 0.8.0
if has('nvim-0.8.0')
call nvim_win_set_option(s:float_id, 'winbar', '')
endif
call s:populate_floating_win(a:offscreen, l:text_method)