neovim-config/lua/treesitter-nvim.lua

20 lines
333 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-05-06 17:00:22 +00:00
"cpp",
"rust",
2021-03-13 01:23:02 +00:00
},
highlight = {
enable = true,
use_languagetree = true
}
2021-03-07 14:22:30 +00:00
}