Releases: mason-org/mason-lspconfig.nvim
Release list
v2.3.0
v2.2.0
v2.1.0
v2.0.0
2.0.0 (2025-05-06)
The following new requirements are in place:
- Neovim v0.11 or later
- Mason v2
- nvim-lspconfig v2
mason-lspconfig.nvim now assumes usage of the new vim.lsp.config configuration mechanism. If you still haven't migrated to Neovim's new LSP configuration API, you're recommended to keep using the latest v1 releases, or the v1.x branches, of both mason.nvim and mason-lspconfig.nvim.
See:
This release adds support for the new native LSP configuration mechanism (see vim.lsp.config) added in Neovim v0.11.
As a result, some existing features have been removed and a new automatic_enable feature has been added.
mason-lspconfig.nvim now tries to get out of the way as much as possible and instead allow users to entirely rely on
the new LSP configuration mechanism, while providing some convenient QoL features on top.
Note
Not all LSP configurations in nvim-lspconfig have been migrated to vim.lsp.config yet. These servers will have to be
manually set up (require("lspconfig").apex_ls.setup {}). A full list may be found
here.
Repository has been moved
The repository has been transferred to the mason-org organization. The new URL is
https://github.com/mason-org/mason-lspconfig.nvim. The previous URL will continue to function as a redirect to the new
URL but users are recommended to update to the new location.
New location for server mappings
Server mappings are now hosted via the registry instead of bundled with mason-lspconfig.nvim itself.
Removed Features
- Remove the
handlerssetting and.setup_handlers()function. It has been replaced by the new native
vim.lsp.config()API and a newautomatic_enablesetting. - Remove the
automatic_installationsetting. This feature is no longer compatible with the new native LSP
configuration mechanism.
New Features
- Add new
automatic_enablesetting to automaticallyvim.lsp.enable()installed servers. It is by default activated.
Example Setup
-- Configure a server via `vim.lsp.config()` or `{after/}lsp/lua_ls.lua`
vim.lsp.config('lua_ls', {
settings = {
Lua = {
runtime = {
version = 'LuaJIT',
},
diagnostics = {
globals = {
'vim',
'require',
},
},
},
},
})
require("mason").setup()
-- Note: `nvim-lspconfig` needs to be in 'runtimepath' by the time you set up mason-lspconfig.nvim
require("mason-lspconfig").setup {
ensure_installed = { "lua_ls" }
}v2.0.0-rc.1
v1.32.0
v1.31.0
v1.30.0
1.30.0 (2024-08-04)
Features
- add hyprls (#428) (0e65781)
- add nginx-language-server support (#421) (37a336b)
- add pbls support (#434) (490d0a9)
- Add regal lsp support (OPA rego linter) (#426) (5716924)
- add shopify_theme_ls mapping (#412) (ce1b625)
- add starpls LSP server (#444) (7c075f0)
- add steep configuration (#422) (fd69d5c)
- add textlsp (#433) (9ac210a)
Bug Fixes
v1.29.0
1.29.0 (2024-05-11)
Features
- add
regolssupport (#403) (dd615fe) - add cobol_ls (#409) (076de8c)
- add css-variables-language-server (#399) (f7abbd2)
- add harper-ls configuration (#406) (44688da)
- add motoko-lsp support (#408) (6c4d744)
- add rust_hdl (#402) (e6a3b46)
- add starlark_rust mapping (#407) (5278047)
- add tinymist (#405) (c3168b2)
v1.28.0
1.28.0 (2024-04-23)
Features
- add
coq_lspsupport (#393) (4b9cbbb) - add
ruff(#385) (7d4fa27) - add earthlyls configuration (#397) (16309c7)
- add fennel-ls (#382) (9dfcf20)
- add gitlab-ci-ls (#391) (bc0e758)
- add lexical (#389) (4450968)
- add mesonlsp (#392) (ce09670)
- lexical: add default
cmdfor lexical (#398) (f3658bf) - rename ruby_ls to ruby_lsp (#395) (68d4663)