Closed rmagatti closed 3 years ago
Oof, that's a good change by upstream, but a breaking one. And now that 0.5 is released, it should have preference over nightly... so I think I'll create a new branch just to dump nightly patches.
Also, thanks for sending this PR, I'll soon merge it with the new branch!
Yeah I did something similar in one of my plugins, actually used debug.getinfo
to get the number of params of the function called. Not sure what would be the best way of doing it for this plugin though. 🤔
Your approach seems good enough IMO.
@gbrlsnchs quick change based on what you linked to make it backwards compatible.
Thanks!!! Merging...
Since the merging of this Neovim PR the function signature for an LSP handler is slightly different. https://github.com/neovim/neovim/pull/15504
This PR updates it to the new signature. There is probably a way to make this backwards compatible but I'll leave that decision to you.