-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pub(crate)
completion leaves closing )
behind
#12390
Comments
To me it feels like we shouldn't carry this completion over at all tbh, though I don't think we are in charge of that as the server. |
I did some debugging but didn't understand why it renders correctly with I think It's possible to prevent carrying by removing parentheses from lookup and set it to something like |
This is most likely because |
This list here
( to the list might create a lot of completion noise
|
Adding if-2022-05-29_18.53.32.mp4 |
We don't need to change the lookup at all if add |
Adding |
Ye that's what I worry about, in most cases you don't want that behaviour, but in the |
Triggering completion here suggests
pub(crate)
. Then, after typingb(c
, accepting thepub(crate)
completion produces this:pub(crate)
completion does not appear inpub($0)
, which kinda makes sense (sincecrate
by itself appears there), but I also feel like we should be consistent there, since you can "carry over" a completion when you request it afterpu$0
.The text was updated successfully, but these errors were encountered: