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

pull/6/head
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
1 changed files with 3 additions and 2 deletions

View File

@ -6,8 +6,9 @@ return {
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",
opts.ensure_installed,
"lua",
"vim"
-- add more arguments for adding more treesitter parsers
)
end,