feat(plugins): clean up
This commit is contained in:
parent
872ed8ecaf
commit
56e1a36ac7
1 changed files with 8 additions and 8 deletions
|
@ -104,10 +104,7 @@ return packer.startup(function()
|
||||||
'ray-x/lsp_signature.nvim',
|
'ray-x/lsp_signature.nvim',
|
||||||
after = 'nvim-lsp-ts-utils',
|
after = 'nvim-lsp-ts-utils',
|
||||||
},
|
},
|
||||||
{
|
{ 'onsails/lspkind-nvim', after = 'lsp_signature.nvim' },
|
||||||
'onsails/lspkind-nvim',
|
|
||||||
after = 'lsp_signature.nvim',
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
'williamboman/nvim-lsp-installer',
|
'williamboman/nvim-lsp-installer',
|
||||||
after = 'lspkind-nvim',
|
after = 'lspkind-nvim',
|
||||||
|
@ -116,7 +113,11 @@ return packer.startup(function()
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
event = 'BufReadPre',
|
})
|
||||||
|
|
||||||
|
use({
|
||||||
|
'L3MON4D3/LuaSnip',
|
||||||
|
event = 'InsertEnter',
|
||||||
})
|
})
|
||||||
|
|
||||||
-- autocompletion
|
-- autocompletion
|
||||||
|
@ -126,14 +127,13 @@ return packer.startup(function()
|
||||||
require('cosmic.lsp.autocomplete').init()
|
require('cosmic.lsp.autocomplete').init()
|
||||||
end,
|
end,
|
||||||
requires = {
|
requires = {
|
||||||
{ 'L3MON4D3/LuaSnip', after = 'nvim-cmp' },
|
{ 'saadparwaiz1/cmp_luasnip', after = 'nvim-cmp' },
|
||||||
{ 'saadparwaiz1/cmp_luasnip', after = 'LuaSnip' },
|
|
||||||
{ 'hrsh7th/cmp-buffer', after = 'cmp_luasnip' },
|
{ 'hrsh7th/cmp-buffer', after = 'cmp_luasnip' },
|
||||||
{ 'hrsh7th/cmp-nvim-lua', after = 'cmp-buffer' },
|
{ 'hrsh7th/cmp-nvim-lua', after = 'cmp-buffer' },
|
||||||
{ 'hrsh7th/cmp-path', after = 'cmp-nvim-lua' },
|
{ 'hrsh7th/cmp-path', after = 'cmp-nvim-lua' },
|
||||||
},
|
},
|
||||||
event = 'InsertEnter',
|
|
||||||
disable = vim.tbl_contains(user_plugins.disable, 'autocomplete'),
|
disable = vim.tbl_contains(user_plugins.disable, 'autocomplete'),
|
||||||
|
after = 'LuaSnip',
|
||||||
})
|
})
|
||||||
|
|
||||||
use({
|
use({
|
||||||
|
|
Loading…
Add table
Reference in a new issue