mirror of
https://github.com/ivuorinen/astronvim_config.git
synced 2026-01-26 11:24:07 +00:00
Split config according to new example
This commit is contained in:
54
plugins/mason.lua
Normal file
54
plugins/mason.lua
Normal file
@@ -0,0 +1,54 @@
|
||||
-- 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" },
|
||||
},
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user