Tuesday, December 21, 2010

Re: Language-specific omnicompletion

You're welcome :)


On Dec 20, 6:25 pm, David Chanters <david.chant...@googlemail.com>
wrote:
> hi,
>
> On 20 December 2010 14:38, Bouchta...@gmail.com <bouchta...@gmail.com> wrote:
>
> > Hello David, I see you're struggling with omnicppcompletion too :)
>
> > I found this:
> > autocmd FileType python set omnifunc=pythoncomplete#Complete
> > autocmd FileType javascript set omnifunc=javascriptcomplete#CompleteJS
> > autocmd FileType html set omnifunc=htmlcomplete#CompleteTags
> > autocmd FileType css set omnifunc=csscomplete#CompleteCSS
> > autocmd FileType xml set omnifunc=xmlcomplete#CompleteTags
> > autocmd FileType php set omnifunc=phpcomplete#CompletePHP
> > autocmd FileType c set omnifunc=ccomplete#Complete
>
> > I hope this will help you...
>
> i tried this, but it didn't do what i hoped it might - at least not
> for the usecase in my original email.
>
> Thanks for helping though. :)
>
> David

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

No comments: