nvim: upd mason config

This commit is contained in:
Valeriy Filippov
2026-04-17 11:04:26 +03:00
parent eec510c9fb
commit d21e83c921

View File

@@ -1,40 +1,41 @@
-- https://github.com/mason-org/mason.nvim
-- https://github.com/mason-org/mason-registry
-- 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 = {
"ansible-language-server", -- https://github.com/ansible/vscode-ansible
"docker-language-server", -- https://github.com/docker/docker-language-server
"gitlab-ci-ls", -- https://github.com/alesbrelih/gitlab-ci-ls
"helm-ls", -- https://github.com/mrjosh/helm-ls
"lua-language-server", -- https://github.com/luals/lua-language-server
"prettier", -- https://github.com/prettier/prettier
"prettierd", -- https://github.com/prettier/prettier
"stylua", -- https://github.com/JohnnyMorganz/StyLua
"terraform-ls", -- https://github.com/hashicorp/terraform-ls
"yaml-language-server", -- https://github.com/redhat-developer/yaml-language-server
},
},
dependencies = {
"williamboman/mason.nvim",
},
},
{
"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 = {
"ansible-language-server", -- https://github.com/ansible/vscode-ansible
"docker-language-server", -- https://github.com/docker/docker-language-server
"gitlab-ci-ls", -- https://github.com/alesbrelih/gitlab-ci-ls
"helm-ls", -- https://github.com/mrjosh/helm-ls
"lua-language-server", -- https://github.com/luals/lua-language-server
"prettier", -- https://github.com/prettier/prettier
"prettierd", -- https://github.com/prettier/prettier
"stylua", -- https://github.com/JohnnyMorganz/StyLua
"terraform-ls", -- https://github.com/hashicorp/terraform-ls
"yaml-language-server", -- https://github.com/redhat-developer/yaml-language-server
},
},
dependencies = {
"williamboman/mason.nvim",
},
},
}