feat(nvim): add lsp signature plugin

This commit is contained in:
Moritz Böhme 2023-09-06 17:48:54 +02:00
parent 4322977115
commit 6ae954d3c6
No known key found for this signature in database
GPG key ID: 970C6E89EB0547A9
2 changed files with 8 additions and 0 deletions

View file

@ -96,6 +96,13 @@ local on_attach_def = function(client, bufnr)
vim.lsp.inlay_hint(bufnr, true)
end, timeout)
end
require("lsp_signature").on_attach({
bind = true, -- This is mandatory, otherwise border config won't get registered.
handler_opts = {
border = "rounded",
},
}, bufnr)
end
local lspconfig_default_options = {