Added signature plugin

This commit is contained in:
Oliver Hartmann
2021-10-14 14:52:50 +02:00
parent 789fe2faa9
commit 97cf6a51f4
2 changed files with 8 additions and 0 deletions

View File

@@ -81,6 +81,13 @@ local on_attach = function(client, bufnr)
augroup END
]], false)
end
require "lsp_signature".on_attach({
bind = true, -- This is mandatory, otherwise border config won't get registered.
handler_opts = {
border = "single"
},
hi_parameter = "IncSearch"
}, bufnr)
end
-- Enable some language servers with the additional completion capabilities offered by nvim-cmp