Can't get new o flag complete option working to add omnnicomplete results
Pablo Giménez <[email protected]> Sat, 16 May 2026 18:42:01 +0200
| Newsgroups | gmane.editors.vim |
|---|---|
| Message-ID | <CAKt3ggLfriqi+jgc2RKqNUkARPtjMoNZm-9vNWfCxm_1srns2g@mail.gmail.com> |
--000000000000dbac6c0651f2024b Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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=3D.,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 --=20 Un saludo Best Regards Pablo Gim=C3=A9nez --=20 --=20 You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php ---=20 You received this message because you are subscribed to the Google Groups "= vim_use" group. To unsubscribe from this group and stop receiving emails from it, send an e= mail to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/vim_use/CAK= t3ggLfriqi%2Bjgc2RKqNUkARPtjMoNZm-9vNWfCxm_1srns2g%40mail.gmail.com. --000000000000dbac6c0651f2024b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div>Hello.</div><div>Looking at the new features in Vim9.= 2, great release BTW, there is one that caught my attention, something I ha= ve been waiting for a long time.</div><div>The ability to get the results f= rom several complete commands into one simple complete query.</div><div>Plu= gins 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.</div><div>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</div><div>get omni= completion working using the jedi#completions function.</div><div>Adding th= e o flag=C2=A0 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</div><div>results doesn't appear when I= press Ctrrl-N.</div><div>These are the flags I use for complete:</div><div= >set complete=3D.,w,b,k,o</div><div><br></div><div>Am I missing something? = Are there some limitations with certain omnifuncs or jedi#completions needs= tweaks to get it working?</div><div>I tried also using F and set complefun= c to the same as omnifunc, but same result.</div><div>Using Vim 9.2.449</di= v><div><br></div><div>Thanks</div><div><br></div><span class=3D"gmail_signa= ture_prefix">-- </span><br><div dir=3D"ltr" class=3D"gmail_signature" data-= smartmail=3D"gmail_signature">Un saludo<br>Best Regards<br>Pablo Gim=C3=A9n= ez</div></div> <p></p> -- <br /> -- <br /> You received this message from the "vim_use" maillist.<br /> Do not top-post! Type your reply below the text you are replying to.<br /> For more information, visit <a href=3D"http://www.vim.org/maillist.php">htt= p://www.vim.org/maillist.php</a><br /> <br /> --- <br /> You received this message because you are subscribed to the Google Groups &= quot;vim_use" group.<br /> To unsubscribe from this group and stop receiving emails from it, send an e= mail to <a href=3D"mailto:[email protected]">vim_use+uns= [email protected]</a>.<br /> To view this discussion visit <a href=3D"https://groups.google.com/d/msgid/= vim_use/CAKt3ggLfriqi%2Bjgc2RKqNUkARPtjMoNZm-9vNWfCxm_1srns2g%40mail.gmail.= com?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.com/d/msg= id/vim_use/CAKt3ggLfriqi%2Bjgc2RKqNUkARPtjMoNZm-9vNWfCxm_1srns2g%40mail.gma= il.com</a>.<br /> --000000000000dbac6c0651f2024b--