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