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

pull/6/head
Micah Halter 2024-01-19 15:57:33 -05:00 committed by GitHub
parent 2813f57ab9
commit 550a3b6cab
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 7 additions and 7 deletions

View File

@ -9,8 +9,8 @@ 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_ls", "lua_ls"
-- add more arguments for adding more language servers -- add more arguments for adding more language servers
) )
end, end,
@ -22,9 +22,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,
-- "prettier", "prettier",
-- "stylua", "stylua"
-- add more arguments for adding more null-ls sources -- add more arguments for adding more null-ls sources
) )
end, end,
@ -35,8 +35,8 @@ 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,
-- "python", "python"
-- add more arguments for adding more debuggers -- add more arguments for adding more debuggers
) )
end, end,