-
Notifications
You must be signed in to change notification settings - Fork 291
Description
Hi, I apologize for not having debugged further but this issue is really troubling me and I would like to know if others have had it.
In general, if I am in insert mode, my LSP will offer suggestions. However, if I go to normal mode and then go back to insert mode, my LSP will offer more sugggetsions. In other wrods, it seems like my lsp Pyrefly offers additional completions if I leave insert mode to normal mode, and go back to insert mode, than the completions Pyrefly offered the first time I was in insertmode.
In insert mode, (when I have auto completion on), I type in an identifier like Tenso
, and expect pyrefly to suggest the full Tensor
symbol and add the from torch import Tensor
line.
However, such a completion happens only after I leave insert mode and Pyrefly observes that Tenso
is not defined.
Screen.Recording.2025-07-31.at.9.40.48.PM.mov
The issue persists even if I re-request completion manually with ctrl-space--though doing so sometimes reveals new completions that my LSP computed.
How can I configure my LSP to properly update its state without leaving insert mode--so that it can give me new suggetions (ctrl-space did not work)