23 lines
597 B
Lua
23 lines
597 B
Lua
return {
|
|
"williamboman/mason-lspconfig.nvim",
|
|
dependencies = { "williamboman/mason.nvim" },
|
|
config = function()
|
|
require("mason-lspconfig").setup({
|
|
-- mason-lspconfig currently expects the legacy name "tsserver"
|
|
-- Note: lua_ls installed via system package manager (not Mason)
|
|
ensure_installed = {
|
|
"ts_ls",
|
|
"html",
|
|
"cssls",
|
|
"jsonls",
|
|
"bashls",
|
|
"marksman",
|
|
"intelephense",
|
|
"pyright",
|
|
"ruff", -- Ruff LSP for Python linting + formatting
|
|
},
|
|
automatic_installation = true,
|
|
})
|
|
end,
|
|
}
|