mirror of
https://github.com/ivuorinen/astronvim_config.git
synced 2026-01-26 03:14:06 +00:00
55 lines
1.3 KiB
Lua
55 lines
1.3 KiB
Lua
-- customize mason plugins
|
|
return { -- use mason-lspconfig to configure LSP installations
|
|
{
|
|
"williamboman/mason-lspconfig.nvim",
|
|
-- overrides `require("mason-lspconfig").setup(...)`
|
|
opts = {
|
|
ensure_installed = {
|
|
"ansiblels",
|
|
"bashls",
|
|
"clangd",
|
|
"codeqlls",
|
|
"cssls",
|
|
"diagnosticls",
|
|
"docker_compose_language_service",
|
|
"dockerls",
|
|
"emmet_ls",
|
|
"eslint",
|
|
"graphql",
|
|
"html",
|
|
"intelephense",
|
|
"jsonls",
|
|
"lua_ls",
|
|
"marksman",
|
|
"phpactor",
|
|
"psalm",
|
|
"pyright",
|
|
"stylelint_lsp",
|
|
"sqls",
|
|
"tailwindcss",
|
|
"tsserver",
|
|
"vuels",
|
|
"yamlls",
|
|
},
|
|
},
|
|
}, -- 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 = {
|
|
automatic_setup = true,
|
|
automatic_installation = true,
|
|
-- ensure_installed = { "prettier", "stylua" },
|
|
},
|
|
},
|
|
{
|
|
"jay-babu/mason-nvim-dap.nvim",
|
|
-- overrides `require("mason-nvim-dap").setup(...)`
|
|
opts = {
|
|
automatic_installation = true,
|
|
automatic_setup = true,
|
|
ensure_installed = { "python", "php", "js", "bash" },
|
|
},
|
|
},
|
|
}
|