Monday, June 21, 2010

Re: what is the command to set the 'omnifunc' option.

On 21/06/2010 9:45 PM, aleCodd wrote:
 how do i set the omnifunc, w/o manually writing an autocommand for filetype event etc.   

vim72\ftplugin\sql.vim

Line 369:
...
    setlocal omnifunc=sqlcomplete#Complete


is there a built-in command for that? because it used to work automatically, or so I remember.   
Those should be setup automatically via filetype plugins.
Make sure you have the following in your vimrc:
filetype plugin on

HTH,
Dave

No comments: