nvim/lua/plugins/mason-lspconfig.lua

23 lines
544 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"
ensure_installed = {
"lua_ls",
"ts_ls",
"html",
"cssls",
"jsonls",
"bashls",
"marksman",
"intelephense",
"pyright",
"ruff", -- Ruff LSP for Python linting + formatting
},
automatic_installation = true,
})
end,
}