Skip to content
This repository was archived by the owner on Oct 13, 2021. It is now read-only.

Commit f3707ee

Browse files
authored
auto tigger signature help window.
1 parent f7256f2 commit f3707ee

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

lua/completion.lua

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,10 @@ function M.on_CompleteDone()
205205
if hover.winnr ~= nil and api.nvim_win_is_valid(hover.winnr) then
206206
api.nvim_win_close(hover.winnr, true)
207207
end
208+
-- auto trigger signature help when we confirm completion
209+
if vim.g.completion_enable_auto_signature ~= 0 then
210+
vim.lsp.buf.signature_help()
211+
end
208212
end
209213

210214
M.on_attach = function(option)

0 commit comments

Comments
 (0)