mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
fix(lsp): set 'smoothscroll' in docs hover #30748
This commit is contained in:
parent
165613ee72
commit
c3cb702ac7
@ -1656,6 +1656,7 @@ function M.open_floating_preview(contents, syntax, opts)
|
||||
vim.wo[floating_winnr].foldenable = false -- Disable folding.
|
||||
vim.wo[floating_winnr].wrap = opts.wrap -- Soft wrapping.
|
||||
vim.wo[floating_winnr].breakindent = true -- Slightly better list presentation.
|
||||
vim.wo[floating_winnr].smoothscroll = true -- Scroll by screen-line instead of buffer-line.
|
||||
|
||||
vim.bo[floating_bufnr].modifiable = false
|
||||
vim.bo[floating_bufnr].bufhidden = 'wipe'
|
||||
|
Loading…
Reference in New Issue
Block a user