my-nvim-lua/lua/treesitter-nvim.lua
2021-05-06 22:30:22 +05:30

20 lines
333 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
}
}