replace lsp_signature with better alternative
This commit is contained in:
@ -24,6 +24,7 @@ cmp.setup {
|
|||||||
{ name = 'neorg' },
|
{ name = 'neorg' },
|
||||||
{ name = 'calc' },
|
{ name = 'calc' },
|
||||||
{ name = 'cmdline' },
|
{ name = 'cmdline' },
|
||||||
|
{ name = 'nvim_lsp_signature_help' }
|
||||||
}),
|
}),
|
||||||
|
|
||||||
window = {
|
window = {
|
||||||
|
@ -1,12 +0,0 @@
|
|||||||
local status_ok, lspsignature = pcall(require, "lsp_signature")
|
|
||||||
if not status_ok then
|
|
||||||
return
|
|
||||||
end
|
|
||||||
|
|
||||||
lspsignature.setup {
|
|
||||||
hint_enable = false,
|
|
||||||
floating_window = true,
|
|
||||||
handler_opts = {
|
|
||||||
border = "shadow"
|
|
||||||
}
|
|
||||||
}
|
|
@ -102,6 +102,7 @@ require('dep') {
|
|||||||
'FelipeLema/cmp-async-path', -- path
|
'FelipeLema/cmp-async-path', -- path
|
||||||
'hrsh7th/cmp-nvim-lsp', -- lsp
|
'hrsh7th/cmp-nvim-lsp', -- lsp
|
||||||
'hrsh7th/cmp-nvim-lua', -- nvim lua api
|
'hrsh7th/cmp-nvim-lua', -- nvim lua api
|
||||||
|
'hrsh7th/cmp-nvim-lsp-signature-help', -- completion information
|
||||||
{ 'doxnit/cmp-luasnip-choice', -- luasnip
|
{ 'doxnit/cmp-luasnip-choice', -- luasnip
|
||||||
requires = 'L3MON4D3/LuaSnip',
|
requires = 'L3MON4D3/LuaSnip',
|
||||||
}
|
}
|
||||||
@ -122,7 +123,6 @@ require('dep') {
|
|||||||
branch = 'legacy'
|
branch = 'legacy'
|
||||||
},
|
},
|
||||||
|
|
||||||
{ 'ray-x/lsp_signature.nvim' }, -- see information about the current function
|
|
||||||
{ 'dnlhc/glance.nvim' }, -- diagnostic info at a glance
|
{ 'dnlhc/glance.nvim' }, -- diagnostic info at a glance
|
||||||
{ 'aznhe21/actions-preview.nvim', -- codeactions
|
{ 'aznhe21/actions-preview.nvim', -- codeactions
|
||||||
requires = 'nvim-telescope/telescope.nvim'
|
requires = 'nvim-telescope/telescope.nvim'
|
||||||
|
Reference in New Issue
Block a user