From b4bf17473a5f01a86f8b177422f8f11f40bd1322 Mon Sep 17 00:00:00 2001 From: Amadeus Demarzi Date: Fri, 16 May 2025 15:45:41 -0700 Subject: [PATCH] Disable winbar on neovim 0.8.0 and later (#387) --- autoload/matchup/matchparen.vim | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/autoload/matchup/matchparen.vim b/autoload/matchup/matchparen.vim index 8d45ac7..45cc801 100644 --- a/autoload/matchup/matchparen.vim +++ b/autoload/matchup/matchparen.vim @@ -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)