Ensure installed for mason
This commit is contained in:
parent
9d8b0d2302
commit
e096af711f
@ -1,12 +1,32 @@
|
|||||||
-- Plenary
|
-- Plenary
|
||||||
return {
|
return {
|
||||||
"mason-org/mason.nvim",
|
"mason-org/mason.nvim",
|
||||||
config = function()
|
opts = {
|
||||||
-- import mason
|
ensure_installed = {
|
||||||
local mason = require("mason")
|
-- formatters
|
||||||
|
"gofumpt",
|
||||||
-- enable mason and configure icons
|
"goimports",
|
||||||
mason.setup({
|
"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 = {
|
ui = {
|
||||||
icons = {
|
icons = {
|
||||||
package_installed = "✓",
|
package_installed = "✓",
|
||||||
@ -14,6 +34,5 @@ return {
|
|||||||
package_uninstalled = "✗",
|
package_uninstalled = "✗",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
})
|
},
|
||||||
end,
|
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user