Skip to content

Conversation

chupsondev
Copy link
Contributor

Description

Function client.supports_method was deprecated in v0.11 and replaced with client:supports_method. This commit starts using client:supports_method for newer version of Neovim, and keeps the deprecated client.supports_method for older versions

Fixes #3467

Type of change

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

I went through the same process as I described in issue #3467 but using a Telescope version with my patch applied

Configuration:

  • Neovim version (nvim --version): v0.12.0-dev-292+g03d378fda6
  • Operating system and version: Arch Linux

Checklist:

  • My code follows the style guidelines of this project (stylua)
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation (lua annotations)

Function `client.supports_method` was deprecated in v0.11 and replaced
with `client:supports_method`. This commit starts using
`client:supports_method` for newer version of Neovim, and keeps the
deprecated `client.supports_method` for older versions
@jamestrew jamestrew merged commit b4da76b into nvim-telescope:master May 12, 2025
12 checks passed
@jamestrew
Copy link
Contributor

Thanks

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.

client.supports_method deprecated in Neovim version 0.11

2 participants