my-nvim-setup/lua/plugins/configs/treesitter.lua
2021-11-17 11:00:57 +05:30

15 lines
243 B
Lua

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