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 augroup END
]], false) ]], false)
end 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 end
-- Enable some language servers with the additional completion capabilities offered by nvim-cmp -- Enable some language servers with the additional completion capabilities offered by nvim-cmp

View File

@ -43,4 +43,5 @@ return require('packer').startup(function()
use {'f-person/git-blame.nvim'} use {'f-person/git-blame.nvim'}
use {'windwp/nvim-autopairs'} use {'windwp/nvim-autopairs'}
use {'nvim-telescope/telescope-fzf-native.nvim', run = 'make'} use {'nvim-telescope/telescope-fzf-native.nvim', run = 'make'}
use {'ray-x/lsp_signature.nvim'}
end) end)