linuxbox/config/nvim/lua/user/plugins/treesitter.lua

22 lines
484 B
Lua

return {
"nvim-treesitter/nvim-treesitter",
opts = function(_, opts)
-- add more things to the ensure_installed table protecting against community packs modifying it
opts.ensure_installed = require("astronvim.utils").list_insert_unique(opts.ensure_installed, {
"lua",
"c",
"vim",
"bash",
"json",
"yaml",
"html",
"css",
"javascript",
"typescript",
"python",
"dockerfile",
"cpp",
})
end,
}