neovim-config/lua/plugins/treesitter.lua
2021-07-16 23:40:52 +05:30

21 lines
312 B
Lua

local ts_config
if
not pcall(
function()
ts_config = require "nvim-treesitter.configs"
end
)
then
return
end
ts_config.setup {
ensure_installed = {
"bash",
"lua"
},
highlight = {
enable = true,
use_languagetree = true
}
}