Files
neovimrc/lua/timmypidashev/plugins/mason.lua
T
timmypidashev 843d1ca3a1 Initial rewrite
Signed-off-by: Timothy Pidashev <mail@timmypidashev.dev>
2026-04-16 01:16:58 -07:00

46 lines
858 B
Lua

require("mason").setup({
ui = {
border = "rounded",
icons = {
package_installed = "",
package_pending = "",
package_uninstalled = "",
},
},
})
require("mason-tool-installer").setup({
ensure_installed = {
-- LSP servers (mason package names)
"lua-language-server",
"typescript-language-server",
"pyright",
"gopls",
"marksman",
"templ",
"html-lsp",
"css-lsp",
"json-lsp",
"yaml-language-server",
"taplo",
"bash-language-server",
"htmx-lsp",
-- Apex LSP not in mason registry — install JAR manually, set APEX_JAR env
-- Formatters
"stylua",
"prettierd",
"gofumpt",
"goimports",
"shfmt",
-- Linters
"eslint_d",
"ruff",
"shellcheck",
"markdownlint-cli2",
},
auto_update = false,
run_on_start = true,
})