Skip to content

breaking changes for nvim 0.11 #320

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 23 commits into
base: master
Choose a base branch
from
Open

breaking changes for nvim 0.11 #320

wants to merge 23 commits into from

Conversation

ray-x
Copy link
Owner

@ray-x ray-x commented Mar 30, 2025

0.11 has changed the way we setup lsp.
This branch is a dev branch on tip and will move to tip in a few months when lspconfig deprecate setup{} method.

@ray-x ray-x requested a review from Copilot April 2, 2025 00:02
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR implements breaking changes for nvim 0.11 by deprecating legacy LSP setup methods and updating documentation and CI configurations accordingly.

  • Removed deprecated on_attach and language-specific LSP configurations in the README.
  • Updated instructions regarding mason and added guidance for using LspAttach autocmd.
  • Updated the CI workflow to use nvim 0.11 and Go 1.24.0.

Reviewed Changes

Copilot reviewed 20 out of 38 changed files in this pull request and generated 1 comment.

File Description
README.md Updated documentation to reflect breaking changes in LSP setup.
.github/workflows/ci.yml Updated version references for nvim and Go to align with nvim 0.11.
Files not reviewed (18)
  • Makefile: Language not supported
  • doc/navigator.txt: Language not supported
  • lsp/ccls.lua: Language not supported
  • lsp/clangd.lua: Language not supported
  • lsp/gopls.lua: Language not supported
  • lsp/jdtls.lua: Language not supported
  • lsp/lua_ls.lua: Language not supported
  • lsp/luals.lua: Language not supported
  • lsp/omnisharp.lua: Language not supported
  • lsp/pyright.lua: Language not supported
  • lsp/ruff.lua: Language not supported
  • lsp/rust_analyzer.lua: Language not supported
  • lua/navigator.lua: Language not supported
  • lua/navigator/codeAction.lua: Language not supported
  • lua/navigator/codelens.lua: Language not supported
  • lua/navigator/definition.lua: Language not supported
  • lua/navigator/diagnostics.lua: Language not supported
  • lua/navigator/dochighlight.lua: Language not supported
Comments suppressed due to low confidence (1)

README.md:547

  • [nitpick] The word 'longger' appears to be a misspelling. Please correct it to 'longer' for consistency and clarity.
Note: mason lspconfig no longger support as of nvim 0.11 The only change you need in in LspAttach event add if you prefer to use mason lspconfig

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant