fix(neovim): lsp now uses BufReadPre and BufNewFile for lazy loading

This commit is contained in:
Kyren223
2024-07-23 14:06:16 +03:00
parent 0802069c40
commit de927ea004

View File

@@ -2,8 +2,7 @@ return {
-- NOTE: Make sure the order is as follows:
-- Mason loads -> Mason lspconfig loads -> Lspconfig loads
'neovim/nvim-lspconfig',
-- event = { 'BufReadPre', 'BufNewFile' },
event = "VeryLazy",
event = { 'BufReadPre', 'BufNewFile' },
dependencies = {
'hrsh7th/cmp-nvim-lsp',
{ 'antosha417/nvim-lsp-file-operations', conifg = true },