2024-02-19 21:33:56 +03:00
|
|
|
if true then return {} end -- WARN: REMOVE THIS LINE TO ACTIVATE THIS FILE
|
2023-07-27 19:42:05 +03:00
|
|
|
|
2024-02-14 19:12:47 +03:00
|
|
|
-- Customize Mason plugins
|
|
|
|
|
2024-01-20 08:40:08 +03:00
|
|
|
---@type LazySpec
|
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
|
2024-01-19 21:13:52 +03:00
|
|
|
opts.ensure_installed = require("astrocore").list_insert_unique(
|
2024-01-19 23:57:33 +03:00
|
|
|
opts.ensure_installed,
|
|
|
|
"lua_ls"
|
2024-01-19 21:13:52 +03:00
|
|
|
-- add more arguments for adding more language servers
|
|
|
|
)
|
2023-04-28 16:56:43 +03:00
|
|
|
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
|
2024-01-19 21:13:52 +03:00
|
|
|
opts.ensure_installed = require("astrocore").list_insert_unique(
|
2024-01-19 23:57:33 +03:00
|
|
|
opts.ensure_installed,
|
|
|
|
"prettier",
|
|
|
|
"stylua"
|
2024-01-19 21:13:52 +03:00
|
|
|
-- add more arguments for adding more null-ls sources
|
|
|
|
)
|
2023-04-28 16:56:43 +03:00
|
|
|
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
|
2024-01-19 21:13:52 +03:00
|
|
|
opts.ensure_installed = require("astrocore").list_insert_unique(
|
2024-01-19 23:57:33 +03:00
|
|
|
opts.ensure_installed,
|
|
|
|
"python"
|
2024-01-19 21:13:52 +03:00
|
|
|
-- add more arguments for adding more debuggers
|
|
|
|
)
|
2023-04-28 16:56:43 +03:00
|
|
|
end,
|
2023-01-14 22:16:59 +03:00
|
|
|
},
|
|
|
|
}
|