27 lines
691 B
Lua
27 lines
691 B
Lua
|
-- customize mason plugins
|
||
|
return {
|
||
|
-- use mason-lspconfig to configure LSP installations
|
||
|
{
|
||
|
"williamboman/mason-lspconfig.nvim",
|
||
|
-- overrides `require("mason-lspconfig").setup(...)`
|
||
|
opts = {
|
||
|
-- ensure_installed = { "sumneko_lua" },
|
||
|
},
|
||
|
},
|
||
|
-- 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" },
|
||
|
},
|
||
|
},
|
||
|
}
|