diff options
author | Squibid <me@zacharyscheiman.com> | 2024-03-31 12:31:20 -0400 |
---|---|---|
committer | Squibid <me@zacharyscheiman.com> | 2024-03-31 12:31:20 -0400 |
commit | dec8d0cb14859fd24c8724ed497ef4048fa23409 (patch) | |
tree | 80270bd1cba3ca00c0c894dff6235ed187b923ad | |
parent | 46d34d9151549350d4db4c44698e76bcdb0d56bb (diff) | |
download | nvim-dec8d0cb14859fd24c8724ed497ef4048fa23409.tar.gz nvim-dec8d0cb14859fd24c8724ed497ef4048fa23409.tar.bz2 nvim-dec8d0cb14859fd24c8724ed497ef4048fa23409.zip |
replace lsp_signature with better alternative
Diffstat (limited to '')
-rw-r--r-- | after/plugin/cmp.lua | 1 | ||||
-rw-r--r-- | after/plugin/lspsignature.lua | 12 | ||||
-rw-r--r-- | lua/conf/plugins.lua | 2 |
3 files changed, 2 insertions, 13 deletions
diff --git a/after/plugin/cmp.lua b/after/plugin/cmp.lua index f5e1d95..92dbd90 100644 --- a/after/plugin/cmp.lua +++ b/after/plugin/cmp.lua @@ -24,6 +24,7 @@ cmp.setup { { name = 'neorg' }, { name = 'calc' }, { name = 'cmdline' }, + { name = 'nvim_lsp_signature_help' } }), window = { diff --git a/after/plugin/lspsignature.lua b/after/plugin/lspsignature.lua deleted file mode 100644 index 7e2c1b2..0000000 --- a/after/plugin/lspsignature.lua +++ /dev/null @@ -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" - } -} diff --git a/lua/conf/plugins.lua b/lua/conf/plugins.lua index d70e0ac..d372aee 100644 --- a/lua/conf/plugins.lua +++ b/lua/conf/plugins.lua @@ -102,6 +102,7 @@ require('dep') { 'FelipeLema/cmp-async-path', -- path 'hrsh7th/cmp-nvim-lsp', -- lsp 'hrsh7th/cmp-nvim-lua', -- nvim lua api + 'hrsh7th/cmp-nvim-lsp-signature-help', -- completion information { 'doxnit/cmp-luasnip-choice', -- luasnip requires = 'L3MON4D3/LuaSnip', } @@ -122,7 +123,6 @@ require('dep') { branch = 'legacy' }, - { 'ray-x/lsp_signature.nvim' }, -- see information about the current function { 'dnlhc/glance.nvim' }, -- diagnostic info at a glance { 'aznhe21/actions-preview.nvim', -- codeactions requires = 'nvim-telescope/telescope.nvim' |