feat!: make lsp more lazy
Now you need to add filetype for lsp to load.
This commit is contained in:
parent
0938c972c6
commit
a38625b342
@ -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' },
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user