Skip to content

Comments

lsp: fix client.supports_method deprecation warning in neovim 0.12#1404

Merged
NotAShelf merged 3 commits intoNotAShelf:mainfrom
Kazimazi:fix-deprecation-warning
Feb 15, 2026
Merged

lsp: fix client.supports_method deprecation warning in neovim 0.12#1404
NotAShelf merged 3 commits intoNotAShelf:mainfrom
Kazimazi:fix-deprecation-warning

Conversation

@Kazimazi
Copy link
Contributor

@Kazimazi Kazimazi commented Feb 8, 2026

This PR fixes the warning message: client.supports_method is deprecated. Run ":checkhealth vim.deprecated" for more information in the nightly version of neovim.

I've tested both current (0.11) and nightly (0.12) versions.

Sanity Checking

  • I have updated the changelog as per my changes
  • I have tested, and self-reviewed my code
  • My changes fit guidelines found in hacking nvf
  • Style and consistency
    • I ran Alejandra to format my code (nix fmt)
    • My code conforms to the editorconfig configuration of the project
    • My changes are consistent with the rest of the codebase
  • If new changes are particularly complex:
    • My code includes comments in particularly complex areas
    • I have added a section in the manual
    • (For breaking changes) I have included a migration guide
  • Package(s) built:
    • .#nix (default package)
    • .#maximal
    • .#docs-html (manual, must build)
    • .#docs-linkcheck (optional, please build if adding links)
  • Tested on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin

Add a 👍 reaction to pull requests you find important.

@github-actions
Copy link

github-actions bot commented Feb 8, 2026

🚀 Live preview deployed from 14cf7fc

View it here:

Debug Information

Triggered by: NotAShelf

HEAD at: fix-deprecation-warning

Reruns: 2097

@NotAShelf
Copy link
Owner

LGTM, could I ask you to add a quick changelog entry so that this is not a surprise to anyone? Normally I wouldn't ask for an entry for such a trivial change but API changes are tricky; let's document it.

@Kazimazi
Copy link
Contributor Author

Rebased and included changelog.

github-actions bot pushed a commit that referenced this pull request Feb 14, 2026
github-actions bot pushed a commit that referenced this pull request Feb 15, 2026
@NotAShelf NotAShelf merged commit df94a99 into NotAShelf:main Feb 15, 2026
14 checks passed
@NotAShelf
Copy link
Owner

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants