chore(treesitter): make it easier to modify list_insert_unique call

This commit is contained in:
Micah Halter 2024-01-19 15:56:43 -05:00 committed by GitHub
parent 921a73c4a6
commit 2813f57ab9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6,8 +6,9 @@ return {
opts = function(_, opts) opts = function(_, opts)
-- add more things to the ensure_installed table protecting against community packs modifying it -- 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 = require("astrocore").list_insert_unique(
opts.ensure_installed opts.ensure_installed,
-- "lua", "lua",
"vim"
-- add more arguments for adding more treesitter parsers -- add more arguments for adding more treesitter parsers
) )
end, end,