my-nvim-setup/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 05:15:14 +01:00
"lua",
2021-04-25 07:27:24 +01:00
"json",
"python"
2021-06-15 17:24:05 +01: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
}