Skip to content

Commit

Permalink
Disable foldcolumn and signcolumn in nvim float, fix #305
Browse files Browse the repository at this point in the history
  • Loading branch information
andymass committed Jul 28, 2023
1 parent 0646093 commit 4f426d1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions autoload/matchup/matchparen.vim
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4f426d1

Please sign in to comment.