my-nvim-setup/lua/treesitter/lua.lua

19 lines
342 B
Lua

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