From 4f426d15ae10f496ee5e519441bc53cae1b7eba1 Mon Sep 17 00:00:00 2001 From: "Andy K. Massimino" Date: Fri, 28 Jul 2023 13:12:58 -0400 Subject: [PATCH] Disable foldcolumn and signcolumn in nvim float, fix #305 --- autoload/matchup/matchparen.vim | 2 ++ 1 file changed, 2 insertions(+) diff --git a/autoload/matchup/matchparen.vim b/autoload/matchup/matchparen.vim index 90b2f71..3376525 100644 --- a/autoload/matchup/matchparen.vim +++ b/autoload/matchup/matchparen.vim @@ -893,6 +893,8 @@ function! s:populate_floating_win(offscreen, text_method) abort " {{{1 call nvim_win_set_option(s:float_id, 'number', v:false) call nvim_win_set_option(s:float_id, 'relativenumber', v:false) call nvim_win_set_option(s:float_id, 'colorcolumn', '') + call nvim_win_set_option(s:float_id, 'foldcolumn', '0') + call nvim_win_set_option(s:float_id, 'signcolumn', 'no') if get(g:matchup_matchparen_offscreen, 'syntax_hl', 0) call s:set_popup_text_2(l:lnum, l:adjust, a:offscreen) else