-
Notifications
You must be signed in to change notification settings - Fork 196
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
Accept error (missing textEdit.range) #178
Comments
This might be the same as #21. There's a solution in that thread |
Ah I tried, I just checked
|
My best guess is the LSP is returning a
The LSP shouldn't be sending this since we don't advertise support but some LSPs seem to ignore that bit of the spec |
Logged it here: https://gist.ro/blink.txt The weird part is that it only happens when the completion menu shows up after I added a check to prevent throwing the error, but it introduced a side-effect of duplicating dots when navigating the menu (so |
Reproduced it with |
Scratch that, it was surprisingly trivial to workaround this temporarily |
Works great, thank you! |
Hi, I've been hitting this weird issue where
textEdit.range
is nil when selecting a completion.I never manager to hit it when working with Lua, but when working with TypeScript it's frequent.
Thank you for all the work!
ts_get_from_item.mp4
The text was updated successfully, but these errors were encountered: