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

18 lines
299 B
Lua
Raw Normal View History

2021-03-07 14:22:30 +00:00
local ts_config = require("nvim-treesitter.configs")
ts_config.setup {
2021-03-13 01:23:02 +00:00
ensure_installed = {
"javascript",
"html",
"css",
"bash",
"cpp",
"rust",
"lua"
},
highlight = {
enable = true,
use_languagetree = true
}
2021-03-07 14:22:30 +00:00
}