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

20 lines
337 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",
2021-04-20 04:15:14 +00:00
"lua",
2021-04-25 06:27:24 +00:00
"json",
"python"
2021-06-15 16:24:05 +00:00
-- "rust",
-- "go"
2021-03-13 01:23:02 +00:00
},
highlight = {
enable = true,
use_languagetree = true
}
2021-03-07 14:22:30 +00:00
}