2023-07-27 19:42:05 +03:00
|
|
|
if true then return {} end -- REMOVE THIS LINE TO ACTIVATE THIS FILE
|
|
|
|
|
|
|
|
-- Example customization of mason plugins
|
2023-01-14 22:16:59 +03:00
|
|
|
return {
|
|
|
|
-- use mason-lspconfig to configure LSP installations
|
|
|
|
{
|
|
|
|
"williamboman/mason-lspconfig.nvim",
|
|
|
|
-- overrides `require("mason-lspconfig").setup(...)`
|
2023-04-28 16:56:43 +03:00
|
|
|
opts = function(_, opts)
|
|
|
|
-- add more things to the ensure_installed table protecting against community packs modifying it
|
2023-07-26 16:08:29 +03:00
|
|
|
opts.ensure_installed = require("astrocore").list_insert_unique(opts.ensure_installed, {
|
2023-04-28 16:56:43 +03:00
|
|
|
-- "lua_ls",
|
|
|
|
})
|
|
|
|
end,
|
2023-01-14 22:16:59 +03:00
|
|
|
},
|
|
|
|
-- use mason-null-ls to configure Formatters/Linter installation for null-ls sources
|
|
|
|
{
|
|
|
|
"jay-babu/mason-null-ls.nvim",
|
|
|
|
-- overrides `require("mason-null-ls").setup(...)`
|
2023-04-28 16:56:43 +03:00
|
|
|
opts = function(_, opts)
|
|
|
|
-- add more things to the ensure_installed table protecting against community packs modifying it
|
2023-07-26 16:08:29 +03:00
|
|
|
opts.ensure_installed = require("astrocore").list_insert_unique(opts.ensure_installed, {
|
2023-04-28 16:56:43 +03:00
|
|
|
-- "prettier",
|
|
|
|
-- "stylua",
|
|
|
|
})
|
|
|
|
end,
|
2023-01-14 22:16:59 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"jay-babu/mason-nvim-dap.nvim",
|
|
|
|
-- overrides `require("mason-nvim-dap").setup(...)`
|
2023-04-28 16:56:43 +03:00
|
|
|
opts = function(_, opts)
|
|
|
|
-- add more things to the ensure_installed table protecting against community packs modifying it
|
2023-07-26 16:08:29 +03:00
|
|
|
opts.ensure_installed = require("astrocore").list_insert_unique(opts.ensure_installed, {
|
2023-04-28 16:56:43 +03:00
|
|
|
-- "python",
|
|
|
|
})
|
|
|
|
end,
|
2023-01-14 22:16:59 +03:00
|
|
|
},
|
|
|
|
}
|