This is a major version that GREATLY simplifies the LSP config. This is now possible thanks to mason-lspconfig v2
.
New features
- ✨feat(
mason-lspconfig v2
): Is now 100% supported.
Major fixes
- 🐛fix:(
<Space>l
): Mappings are now injected correctly on Rust! - 🐛fix:(
<Space>uf
): Now correctly toggles autoformat. - 🐛fix:(
<Space>uC
): Now correctly togglesHex #colors
. - 🐛fix(
<Space>h
): Our greeter (alpha) is now opened correctly when multiple windows are present. → New contributor @Intey #606
Major refactors
- ♻️refactor(
mason-lspconfig
): LSP keymappings are now injected on a single place. - ♻️refactor(
mason-lspconfig
): The concept of lsp "handlers" do not exist anymore in this plugin, so we don't need to use it anymore either. - ♻️refactor(nvim 0.12 deprecations): We now implement them while keeping backwards compatibility with 0.11.
- ♻️refactor(website): Entries for
copilot
andcmp-copilot
have been added.
Removed features
- 🛑removed(SchemaStore.nvim): It's not worth for us shipping this plugin by default.
- 🛑removed(
utils.lsp
): File has been removed, asmason-lsp v2
now take care of configuring and starting lsp clients automatically.
Screenshots
Our mason-lspconfig
config is now EXTREMELY easy to understand.
Full Changelog: v4.3.1...v4.4.0