16 lines
440 B
Lua
16 lines
440 B
Lua
-- Customization of Treesitter
|
|
---@type LazySpec
|
|
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("astrocore").list_insert_unique(
|
|
opts.ensure_installed,
|
|
"lua",
|
|
"vim",
|
|
"vimdoc"
|
|
-- add more arguments for adding more treesitter parsers
|
|
)
|
|
end,
|
|
}
|