On Tuesday, May 21, 2013 1:56:50 AM UTC-5, Steve liu wrote:
> Hi all 
> 
> I want to set omnifunc to at least 2 functions. 
> e.g. set omnifunc=ccomplete#Complete,syntaxcomplete#Complete
> 
> but the syntax is not correct here. 
> 
> 
> could you pls help to tell me this? 
> 
> I tried these 2 
> 
> 
> 
> 
> 
> 
> 
> 
> set omnifunc=ccomplete#Complete,syntaxcomplete#Complete
> set omnifunc=ccomplete#Complete;syntaxcomplete#Complete
> 
> 
> 
> but either of one works 
> 

The omnifunc option takes only one function name. You will need to write a 
wrapper function that calls the other functions in the way you desire if you 
want to combine the results.

-- 
-- 
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

--- 
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 email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to