With a bit of help from guys in the IRC channel, I found out that "set ofu=javascriptcomplete#CompleteJS" is set by default au ft=js, by $VIMRUNTIME/ftplugin/javascript.vim. Thus it is not necessary at all to set ofu in vimrc.
On Fri, Aug 17, 2012 at 3:36 PM, Chiel ten Brinke <[email protected]>wrote: > Small question: > > If I want to enable onmicompletion for javascript, what is the difference > between these two: > "set ofu=javascriptcomplete#CompleteJS" > and > "set ofu=syntaxcomplete#Complete"? > > Kind regards > -- You received this message from the "vim_dev" 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
