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 = {
|
local M = {
|
||||||
'neovim/nvim-lspconfig',
|
'neovim/nvim-lspconfig',
|
||||||
name = 'lsp',
|
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,
|
-- lazy = false,
|
||||||
dependencies = { 'hrsh7th/cmp-nvim-lsp', 'williamboman/mason.nvim' },
|
dependencies = { 'hrsh7th/cmp-nvim-lsp', 'williamboman/mason.nvim' },
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user