2023-01-14 22:16:59 +03:00
|
|
|
-- customize mason plugins
|
|
|
|
return {
|
|
|
|
-- use mason-lspconfig to configure LSP installations
|
|
|
|
{
|
|
|
|
"williamboman/mason-lspconfig.nvim",
|
|
|
|
-- overrides `require("mason-lspconfig").setup(...)`
|
|
|
|
opts = {
|
2023-03-09 15:56:34 +03:00
|
|
|
-- ensure_installed = { "lua_ls" },
|
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(...)`
|
|
|
|
opts = {
|
|
|
|
-- ensure_installed = { "prettier", "stylua" },
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"jay-babu/mason-nvim-dap.nvim",
|
|
|
|
-- overrides `require("mason-nvim-dap").setup(...)`
|
|
|
|
opts = {
|
|
|
|
-- ensure_installed = { "python" },
|
|
|
|
},
|
|
|
|
},
|
|
|
|
}
|