nvchad/lua/plugins/treesitter.lua

26 lines
459 B
Lua
Raw Normal View History

2021-06-25 12:06:13 -04:00
local M = {}
2021-03-07 09:22:30 -05:00
2021-06-25 12:06:13 -04:00
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
}
2021-03-12 20:23:02 -05:00
}
2021-06-25 12:06:13 -04:00
end
return M