Repository navigation
Conversation
conpletions is used via the new 0 flag in complete
|
Thanks for trying to contribute! Is there a reason you're not using LSP/Zuban? I think it's generally better at this point. About the pull request: I have to find time to test and understand this. I'm not sure what it exactly fixes and I currently don't really have time for jedi-vim. |
|
Hey, sorry for the late response. These new options allows to compose the complete results from Ctrl-N and omnifunc in one call to complete(). |
The new o flag for complete allows to query completions from omni func after the next or previous word completion:
This is not working at the moment in jedi-vim because in completions() the tool first ask for current row and column to check
if it needs to find start, then calls it again, but if it is a chained completion lookup, like when adding the o flag this second callback to get current row and columns returns a wrong value for column because the first completion looks like is moving the cursor.
So here I'm saving the original column values in a buffer variable for later use and then all works as expected, the omnifunc works and adds it's results to the next/prev word search.