fix(words,zen): migrate to client:supports_method for deprecation
Description
Fixes deprecations by neovim 0.11.
Related Issue(s)
Screenshots
This PR is stale because it has been open 30 days with no activity.
Nope/
This will cause problems in Neovim <0.11. I don't know if Folke wants to drop support for that, but it would be better to add conditional which checks Neovim version and uses one accordingly. The old mehod is deprecated, but still resolved internally in Neovim until its removal on 0.13. It only shows the deprecated message.
I can write a wrapper function that handles it, but then we need to wrap client with that function, which will become ugly. @dpetka2001
I don't know how Folke wants to handle it with regards to dropping support on Neovim <0.11. That is his decision. All I know is this is not going to work on Neovim <0.11, whereas if you leave it as is both versions will work and only the deprecation message will show or a wrapper.
Best to wait for his feedback.
This PR is stale because it has been open 30 days with no activity.
Nope
This PR is stale because it has been open 30 days with no activity.
Nope
This PR is stale because it has been open 30 days with no activity.
Nope, just @folke not around.