Ensure installed for mason
This commit is contained in:
parent
9d8b0d2302
commit
e096af711f
@ -1,19 +1,38 @@
|
||||
-- Plenary
|
||||
return {
|
||||
"mason-org/mason.nvim",
|
||||
config = function()
|
||||
-- import mason
|
||||
local mason = require("mason")
|
||||
|
||||
-- enable mason and configure icons
|
||||
mason.setup({
|
||||
ui = {
|
||||
icons = {
|
||||
package_installed = "✓",
|
||||
package_pending = "➜",
|
||||
package_uninstalled = "✗",
|
||||
},
|
||||
opts = {
|
||||
ensure_installed = {
|
||||
-- formatters
|
||||
"gofumpt",
|
||||
"goimports",
|
||||
"gomodifytags",
|
||||
"prettier",
|
||||
"sqruff",
|
||||
"stylua",
|
||||
-- linters
|
||||
"eslint_d",
|
||||
"golangci-lint",
|
||||
"pylint",
|
||||
"sqlfluff",
|
||||
"sqruff",
|
||||
-- LSP
|
||||
"css-lsp",
|
||||
"emmet-language-server",
|
||||
"eslint-lsp",
|
||||
"html-lsp",
|
||||
"lua-language-server",
|
||||
"phpactor",
|
||||
"sqlls",
|
||||
"svelte-language-server",
|
||||
"typescript-language-server",
|
||||
},
|
||||
ui = {
|
||||
icons = {
|
||||
package_installed = "✓",
|
||||
package_pending = "➜",
|
||||
package_uninstalled = "✗",
|
||||
},
|
||||
})
|
||||
end,
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user