nvchad/lua/treesitter-nvim.lua
2021-06-25 21:36:13 +05:30

26 lines
459 B
Lua

local M = {}
M.config = function()
local ts_config = require("nvim-treesitter.configs")
ts_config.setup {
ensure_installed = {
"javascript",
"html",
"css",
"bash",
"lua",
"json",
"python"
-- "rust",
-- "go"
},
highlight = {
enable = true,
use_languagetree = true
}
}
end
return M