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

@@ -7,33 +7,21 @@
# https://github.com/junegunn/fzf # https://github.com/junegunn/fzf
brew install fzf brew install fzf
# https://github.com/alesbrelih/gitlab-ci-ls
brew install alesbrelih/gitlab-ci-ls/gitlab-ci-ls
# https://github.com/golang/go # https://github.com/golang/go
brew install go brew install go
# https://github.com/jesseduffield/lazygit # https://github.com/jesseduffield/lazygit
brew install lazygit brew install lazygit
# https://github.com/LuaLS/lua-language-server
brew install lua-language-server
# https://github.com/getsops/sops # https://github.com/getsops/sops
brew onstall sops brew onstall sops
# https://github.com/hashicorp/terraform-ls
brew install terraform-ls
# https://tree-sitter.github.io/ # https://tree-sitter.github.io/
brew install tree-sitter brew install tree-sitter
# https://github.com/redhat-developer/yaml-language-server
brew install yaml-language-server
# https://github.com/docker/docker-language-server
brew install docker-language-server
# https://github.com/ryanoasis/nerd-fonts # https://github.com/ryanoasis/nerd-fonts
brew install --cask font-jetbrains-mono-nerd-font brew install --cask font-jetbrains-mono-nerd-font
# https://rust-lang.org/ for cargo package manager
brew install rust
``` ```

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",
},
}
}