aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/lsp/buf.lua
diff options
context:
space:
mode:
authorskewb1k <skewb1kunix@gmail.com>2025-08-12 00:31:57 +0300
committerGitHub <noreply@github.com>2025-08-11 14:31:57 -0700
commit7cc07e8383327f0701edccbe77120ceea2673bfa (patch)
treee879d50114cbf2e0e9e2f5960d9baa6a7674a650 /runtime/lua/vim/lsp/buf.lua
parentbe5a4851eaa5db19102b66042d42bc8bdba27460 (diff)
downloadrneovim-7cc07e8383327f0701edccbe77120ceea2673bfa.tar.gz
rneovim-7cc07e8383327f0701edccbe77120ceea2673bfa.tar.bz2
rneovim-7cc07e8383327f0701edccbe77120ceea2673bfa.zip
feat(lsp): support signature help noActiveParameterSupport #34838
Diffstat (limited to 'runtime/lua/vim/lsp/buf.lua')
-rw-r--r--runtime/lua/vim/lsp/buf.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/lua/vim/lsp/buf.lua b/runtime/lua/vim/lsp/buf.lua
index 6dc90f7184..86b456546e 100644
--- a/runtime/lua/vim/lsp/buf.lua
+++ b/runtime/lua/vim/lsp/buf.lua
@@ -330,8 +330,8 @@ local function process_signature_help_results(results)
)
api.nvim_command('redraw')
else
- local result = r.result --- @type lsp.SignatureHelp
- if result and result.signatures and result.signatures[1] then
+ local result = r.result
+ if result and result.signatures then
for i, sig in ipairs(result.signatures) do
sig.activeParameter = sig.activeParameter or result.activeParameter
local idx = #signatures + 1