Add mason for lsp and formatters install
This commit is contained in:
38
nvim/lua/plugins/mason.lua
Normal file
38
nvim/lua/plugins/mason.lua
Normal 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",
|
||||
},
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user