nvim/lua/plugins/mason-lspconfig.lua
2026-10-28 14:58:06 +00:00

24 lines
579 B
Lua

return {
"williamboman/mason-lspconfig.nvim",
event = { "BufReadPre", "BufNewFile" },
dependencies = {
"williamboman/mason.nvim",
"neovim/nvim-lspconfig",
},
opts = {
-- lua_ls is installed through the system package manager.
ensure_installed = {
"ts_ls",
"html",
"cssls",
"jsonls",
"bashls",
"marksman",
"intelephense",
"pyright",
"ruff", -- Python linting and code actions
},
-- lsp.lua owns configuration and activation through vim.lsp.config/enable.
automatic_enable = false,
},
}