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