chore(mason): make it easier to modify `list_insert_unique` call
parent
2813f57ab9
commit
550a3b6cab
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue