add lsp_signature
This commit is contained in:
2
init.lua
2
init.lua
@@ -743,7 +743,7 @@ require('lazy').setup({
|
||||
--
|
||||
-- Uncomment the following line and add your plugins to `lua/custom/plugins/*.lua` to get going.
|
||||
-- For additional information, see `:help lazy.nvim-lazy.nvim-structuring-your-plugins`
|
||||
-- { import = 'custom.plugins' },
|
||||
{ import = 'custom.plugins' },
|
||||
}, {
|
||||
ui = {
|
||||
-- If you are using a Nerd Font: set icons to an empty table which will use the
|
||||
|
||||
15
lua/custom/plugins/lsp_signature.lua
Normal file
15
lua/custom/plugins/lsp_signature.lua
Normal file
@@ -0,0 +1,15 @@
|
||||
return {
|
||||
'ray-x/lsp_signature.nvim',
|
||||
event = 'InsertEnter',
|
||||
opts = {
|
||||
bind = true,
|
||||
doc_lines = 0,
|
||||
close_timeout = 1000,
|
||||
handler_opts = {
|
||||
border = 'rounded',
|
||||
},
|
||||
},
|
||||
config = function(_, opts)
|
||||
require('lsp_signature').setup(opts)
|
||||
end,
|
||||
}
|
||||
Reference in New Issue
Block a user