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