Can't get new o flag complete option working to add omnnicomplete results

4 views
Skip to first unread message

Pablo Giménez

unread,
12:42 PM (5 hours ago) 12:42 PM
to vim_use
Hello.
Looking at the new features in Vim9.2, great release BTW, there is one that caught my attention, something I have been waiting for a long time.
The ability to get the results from several complete commands into one simple complete query.
Plugins like MuComplete where close, allowing to switch to different complete command, but the newly added o flag for the complete option looks like the proper solution.
Basically I want to press Ctrl-N and get results not only for keyword but also for omnicomplete, semantic aware results, I have been testing it with python where I use vim-jedi to
get omnicompletion working using the jedi#completions function.
Adding the o flag  doesn't seem to have any effect in the complete options offered when I press Ctrl-N, if I press Ctrl-X-O I got the expected results from omnicompletion, but those
results doesn't appear when I press Ctrrl-N.
These are the flags I use for complete:
set complete=.,w,b,k,o

Am I missing something? Are there some limitations with certain omnifuncs or jedi#completions needs tweaks to get it working?
I tried also using F and set complefunc to the same as omnifunc, but same result.
Using Vim 9.2.449

Thanks

--
Un saludo
Best Regards
Pablo Giménez
Reply all
Reply to author
Forward
0 new messages