mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 14:08:32 +00: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:

committed by
Justin M. Keyes

parent
1f119d4153
commit
638f2b6dee
@@ -685,10 +685,9 @@ function! s:OpenHoverPreview(lines, filetype) abort
|
||||
\ 'row': row,
|
||||
\ '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')
|
||||
\ })
|
||||
|
||||
if a:filetype isnot v:null
|
||||
call nvim_win_set_option(float_win_id, 'filetype', a:filetype)
|
||||
|
Reference in New Issue
Block a user