feat(plugins): even more perf yo
This commit is contained in:
parent
0270f32e03
commit
16cfc46795
1 changed files with 21 additions and 9 deletions
|
@ -94,16 +94,29 @@ return packer.startup(function()
|
||||||
disable = vim.tbl_contains(user_plugins.disable, 'nvim-tree'),
|
disable = vim.tbl_contains(user_plugins.disable, 'nvim-tree'),
|
||||||
})
|
})
|
||||||
|
|
||||||
use({ -- lsp
|
use({
|
||||||
'williamboman/nvim-lsp-installer',
|
'neovim/nvim-lspconfig',
|
||||||
requires = {
|
requires = {
|
||||||
'neovim/nvim-lspconfig',
|
{
|
||||||
'jose-elias-alvarez/nvim-lsp-ts-utils',
|
'hrsh7th/cmp-nvim-lsp',
|
||||||
'ray-x/lsp_signature.nvim',
|
after = 'nvim-lspconfig',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'jose-elias-alvarez/nvim-lsp-ts-utils',
|
||||||
|
after = 'cmp-nvim-lsp',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'ray-x/lsp_signature.nvim',
|
||||||
|
after = 'nvim-lsp-ts-utils',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'williamboman/nvim-lsp-installer',
|
||||||
|
after = 'lsp_signature.nvim',
|
||||||
|
config = function()
|
||||||
|
require('cosmic.lsp')
|
||||||
|
end,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
config = function()
|
|
||||||
require('cosmic.lsp')
|
|
||||||
end,
|
|
||||||
event = 'BufReadPre',
|
event = 'BufReadPre',
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@ -120,7 +133,6 @@ return packer.startup(function()
|
||||||
{ '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' },
|
||||||
{ 'onsails/lspkind-nvim', after = 'cmp-path' },
|
{ 'onsails/lspkind-nvim', after = 'cmp-path' },
|
||||||
{ 'hrsh7th/cmp-nvim-lsp' },
|
|
||||||
},
|
},
|
||||||
event = 'InsertEnter',
|
event = 'InsertEnter',
|
||||||
disable = vim.tbl_contains(user_plugins.disable, 'autocomplete'),
|
disable = vim.tbl_contains(user_plugins.disable, 'autocomplete'),
|
||||||
|
|
Loading…
Add table
Reference in a new issue