You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* feat(mason)!: migrate to v2.x
Just wrapped up going thru all the changes in mason 2.x (and nvim 0.11 too)!
This should be a follow up to #1466 and (hopefully) fix all the issues related
to the updated LSP API (like servers not spawning and other weirdness) and works
together w #1496.
Acc the main issue was that some mason package names don't match their names in
lspconfig, so just using `lsp_deps` directly works for most, but breaks a bunch
of others (tldr: that mismatch is what was causing all the edge cases and broken
behavior).
I also went ahead and enabled `automatic_installation` because why not lol means
we don't have to manually call `vim.lsp.enable()` for everything, which might
save a tiny bit of perf too.
Didn't test this super thoroughly yet so pls lmk if anything's still broken!
Signed-off-by: Jint-lzxy <[email protected]>
* fixup! feat(mason)!: migrate to v2.x
* fixup! feat(mason)!: migrate to v2.x
* fixup! feat(mason)!: migrate to v2.x
* fix: LSP start logic (#1496)
* Revert "fix: remove manual `LspStart`, close#1478. (#1479)"
This reverts commit 7dab4b9.
* Revert "fixup(#1466): load lsp config with proper event. (#1472)"
This reverts commit 53eeeec.
* fix: LSP start logic
This should acc fix#1472 and #1479 cuz iirc the root cause was that lspconfig
changed how `LspStart` works. Now it only starts one _specific_ server (passed
via the first argument), instead of starting all matching servers automatically.
So we gotta manually start all the servers that match the current filetype
instead.
Signed-off-by: Jint-lzxy <[email protected]>
---------
Signed-off-by: Jint-lzxy <[email protected]>
* fix: unresolved nvim_lsp
* feat(lsp): unify language server setup
Signed-off-by: Jint-lzxy <[email protected]>
---------
Signed-off-by: Jint-lzxy <[email protected]>
Co-authored-by: ayamir <[email protected]>
0 commit comments