Summary
When using the "go to definition" (in neovim) for a class, currently ty return 2 "definitions":
- The class name line
class MyClass(...):
- and the init method
def __init__(self,...):
I'm not sure if this is by design or not, but other lsp (pyright) just return one definition class MyClass and thus the editor can jump directly to that definition.
Current it unnecessary open a picker to pick the definition even though there's just one implementaton of that class.
Version
ty 0.0.5