chore(treesitter): clean up treesitter
neaten up the treesitter code. superficial change
This commit is contained in:
parent
e1f5370ce6
commit
73f9fd1526
|
|
@ -2,17 +2,16 @@ if not pcall(require, 'nvim-treesitter') then
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
require('nvim-treesitter.configs').setup {
|
local config = {
|
||||||
|
ensure_installed = {
|
||||||
ensure_installed = {
|
"c",
|
||||||
"c",
|
"cpp",
|
||||||
"cpp",
|
|
||||||
"c_sharp",
|
"c_sharp",
|
||||||
"markdown",
|
"markdown",
|
||||||
"latex",
|
"latex",
|
||||||
"go",
|
"go",
|
||||||
"rust"
|
"rust"
|
||||||
},
|
},
|
||||||
sync_install = false,
|
sync_install = false,
|
||||||
|
|
||||||
highlight = {
|
highlight = {
|
||||||
|
|
@ -35,3 +34,4 @@ require('nvim-treesitter.configs').setup {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user