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:
Jean Mertz 2019-09-06 23:48:03 +02:00 committed by Justin M. Keyes
parent 1f119d4153
commit 638f2b6dee

View File

@ -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