-
Notifications
You must be signed in to change notification settings - Fork 175
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
omnicompletion not working yet #840
Comments
The steps to reproduce on the previous ticket didn't mention Seems that Vim has changed something.
Will have to look into it, but this seems like a massive regression in Vim. |
The issue is that vimspector is trying to wait sychronously for the completion response from the DAP server (in order to not build a whole async completion system into vimspector for a very niche case. Unfortunately, when writing/reading this request we end up receiving log messages etc. and try to write them to the log buffer, this requires switching buffers. So basically, what the new Vim "rule" says is that during processing of a user completion function, you cannot sleep or do anything that requests user input as this could fire timers, receive data on sockets, etc. so you have to implement Le sigh. This will be fiddly to resolve, so won't be immediate. In the meantime, using a more sophisticated completion system like YCM coupled with Vimspector's omnifunc works. |
Hi, best C. |
I have no idea. Read to cock docs or upgrade to YouCompleteMe 🤪 |
to read cock docs?
Better upgrading then :-)
Cristiano De Michele
***@***.***
… Il giorno 17 feb 2024, alle ore 12:40, Ben Jackson ***@***.***> ha scritto:
I have no idea. Read to cock docs or upgrade to YouCompleteMe 🤪
—
Reply to this email directly, view it on GitHub <#840 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ADU4YGSN56GSKZLFJNC7KO3YUCJK5AVCNFSM6AAAAABDNEY2TWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNBZHE2DSOJQGI>.
You are receiving this because you authored the thread.
|
Ooppps. Typo. 😎 |
Description
If I type in console or watches buffers I get errors
Is it reproducible in vim?
Reproducible in Vim
Works with clean config?
Yes
Sample project works?
Reproducible with sample project
Minimal Reproduction
Hi Ben,
thank you for the prompt reply but I should ask you to reopen issue #837, since first time I encountered this problem,
it was after pausing a program. Indeed, if you download the following zip:
test.zip
you will find a modified test case. If you follow the same steps described in #837, you pause the program
and you press <c-x><c-o> you should get errors as shown in the following screenshot
Expected Behaviour
no errors on omnicompletion
Actual Behaviour
many errors
Additional information
No response
Installation Type
Plugin Manager (git clone)
Vimspector version
da7fc24
Debug Info
Log file
Vim version
Python version
No response
Neovim diagnostics
No response
Operating System
Darwin piro.phys.uniroma1.it 23.3.0 Darwin Kernel Version 23.3.0: Wed Dec 20 21:28:58 PST 2023; root:xnu-10002.81.5~7/RELEASE_X86_64 x86_64
Declaration
The text was updated successfully, but these errors were encountered: