neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit c3cb702ac7a5d6a1515129c80ce143e3bdf5d739
parent 165613ee724bfc580217e10461c6ffc30f2d9074
Author: Justin M. Keyes <justinkz@gmail.com>
Date:   Fri, 11 Oct 2024 00:50:09 -0700

fix(lsp): set 'smoothscroll' in docs hover #30748


Diffstat:
Mruntime/lua/vim/lsp/util.lua | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/runtime/lua/vim/lsp/util.lua b/runtime/lua/vim/lsp/util.lua @@ -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'