Add mason for lsp and formatters install

This commit is contained in:
Valeriy Filippov
2026-03-11 09:43:52 +03:00
parent 97efab296d
commit c4a77e9d1b
2 changed files with 41 additions and 15 deletions

View File

@@ -0,0 +1,38 @@
-- https://github.com/mason-org/mason.nvim
-- https://github.com/WhoIsSethDaniel/mason-tool-installer.nvim
return {
{
"mason-org/mason.nvim",
opts = {
registries = {
"file:~/.config/mason-registry",
"github:mason-org/mason-registry",
},
ui = {
icons = {
package_installed = "",
package_pending = "",
package_uninstalled = ""
}
}
}
},
{
"WhoIsSethDaniel/mason-tool-installer.nvim",
opts = {
ensure_installed = {
"docker-language-server",
"gitlab-ci-ls",
"lua-language-server",
"prettier",
"prettierd",
"stylua",
"terraform-ls",
"yaml-language-server",
},
},
dependencies = {
"williamboman/mason.nvim",
},
}
}