Changed treesitter and lsp configs for nvim
This commit is contained in:
parent
76396e23e6
commit
c73c8ea3b6
@ -3,7 +3,6 @@ local lsp = require("lsp-zero")
|
|||||||
lsp.preset("recommended")
|
lsp.preset("recommended")
|
||||||
|
|
||||||
lsp.ensure_installed({
|
lsp.ensure_installed({
|
||||||
'tsserver',
|
|
||||||
'rust_analyzer',
|
'rust_analyzer',
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
require'nvim-treesitter.configs'.setup {
|
require'nvim-treesitter.configs'.setup {
|
||||||
-- A list of parser names, or "all"
|
-- A list of parser names, or "all"
|
||||||
ensure_installed = { "help", "c", "c++", "lua", "rust" },
|
ensure_installed = { "help", "c", "cpp", "lua", "rust" },
|
||||||
|
|
||||||
-- Install parsers synchronously (only applied to `ensure_installed`)
|
-- Install parsers synchronously (only applied to `ensure_installed`)
|
||||||
sync_install = false,
|
sync_install = false,
|
||||||
|
Loading…
Reference in New Issue
Block a user