mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 18:55:14 -07:00
termdebug.vim: use style=minimal in popups #10904
- line numbers weren't hidden (which means the variable is cut off, as the number column isn't considered when calculating the width of the float). - spurious duplicate line to disable signcolumn, and nonumber was indeed missed when porting the original implementation to Neovim.
This commit is contained in:
parent
1f119d4153
commit
638f2b6dee
@ -685,10 +685,9 @@ function! s:OpenHoverPreview(lines, filetype) abort
|
||||
\ 'col': col,
|
||||
\ 'width': width,
|
||||
\ 'height': height,
|
||||
\ 'style': 'minimal',
|
||||
\ })
|
||||
call nvim_win_set_option(float_win_id, 'relativenumber', v:false)
|
||||
call nvim_win_set_option(float_win_id, 'signcolumn', 'no')
|
||||
call nvim_win_set_option(float_win_id, 'signcolumn', 'no')
|
||||
|
||||
if a:filetype isnot v:null
|
||||
call nvim_win_set_option(float_win_id, 'filetype', a:filetype)
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user