mirror of https://github.com/NvChad/NvChad
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
242 B
Lua
15 lines
242 B
Lua
3 years ago
|
local present, ts_config = pcall(require, "nvim-treesitter.configs")
|
||
|
if not present then
|
||
3 years ago
|
return
|
||
3 years ago
|
end
|
||
|
|
||
3 years ago
|
ts_config.setup {
|
||
3 years ago
|
ensure_installed = {
|
||
|
"lua",
|
||
|
},
|
||
|
highlight = {
|
||
|
enable = true,
|
||
|
use_languagetree = true,
|
||
|
},
|
||
3 years ago
|
}
|