manateelazycat / lsp-bridge

A blazingly fast LSP client for Emacs
GNU General Public License v3.0
1.35k stars 197 forks source link

`lsp-bridge-find-def` with `pyright` takes to stub file (`.pyi`) instead of code (`.py`). #952

Open anmolschauhan opened 1 month ago

anmolschauhan commented 1 month ago

I work over a huge monolith python repository, for which I have created pyright stubs.

Whenever I use lsp-bridge-find-def over some function which is not in the same python file, lsp-bridge takes me to the stub file.

manateelazycat commented 1 month ago

Can you update example code for test? Thanks