feat!: make lsp more lazy

Now you need to add filetype for lsp to load.
This commit is contained in:
fiplox 2023-04-22 20:26:16 +02:00
parent 0938c972c6
commit a38625b342
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
local M = {
'neovim/nvim-lspconfig',
name = 'lsp',
event = { 'BufRead', 'BufNewFile' },
event = { 'BufRead *.lua,*.c,*.rust,*.go,*.py,*.java,*.cpp,*.h' , 'BufNewFile *.lua,*.c,*.rust,*.go,*.py,*.java,*.cpp,*.h' },
-- lazy = false,
dependencies = { 'hrsh7th/cmp-nvim-lsp', 'williamboman/mason.nvim' },
}