2021-07-17 13:14:52 +02:00
|
|
|
local present, ts_config = pcall(require, "nvim-treesitter.configs")
|
|
|
|
if not present then
|
2021-08-16 09:49:09 +02:00
|
|
|
return
|
2021-06-25 18:06:13 +02:00
|
|
|
end
|
|
|
|
|
2021-07-15 17:43:17 +02:00
|
|
|
ts_config.setup {
|
2021-08-16 09:49:09 +02:00
|
|
|
ensure_installed = {
|
|
|
|
"lua",
|
|
|
|
},
|
|
|
|
highlight = {
|
|
|
|
enable = true,
|
|
|
|
use_languagetree = true,
|
|
|
|
},
|
2021-07-15 17:43:17 +02:00
|
|
|
}
|