You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, a problem I've run into is that instead of taking me to the corresponding source code when I ask to Go-to-Definition, it takes me to the typeshed definition (pyi). This behavior is mentioned here - and elsewhere but from the link, it says that VSCode shows both hits and you can select which one you want. Is there any option to configure this in vim-lsc and have it provide me with an option to select one of them (or to always prefer one)? Thanks
The text was updated successfully, but these errors were encountered:
jedi-language-server works better. I never got pyright work correctly and vscode uses pylance and it's closed source, you never know what kind of patches are in there.
Hi,
I'm currently trying to set up vim-lsc to use pyright. It works out of the box by simply:
installing it (it requires Node.js 12+):
and then adding the following:
However, a problem I've run into is that instead of taking me to the corresponding source code when I ask to Go-to-Definition, it takes me to the typeshed definition (pyi). This behavior is mentioned here - and elsewhere but from the link, it says that VSCode shows both hits and you can select which one you want. Is there any option to configure this in vim-lsc and have it provide me with an option to select one of them (or to always prefer one)? Thanks
The text was updated successfully, but these errors were encountered: