Posted By: znouza (fuck.the.world) on 'CZunix'
Title:     Re: otvirani souboru ve vim
Date:      Thu May 11 10:04:59 2006

> > > BTW: zkousel jste nekdo Vim7? Jak funguje Omni-completion?
>                                               ^^^^
> > jo, uz truni na mych masinach. omni* chodi, jen musim nejak doplnit ty 
>                                  ^^^^
> 
> WTF? A bez RTFM!
> Hey.
> 
> You give it all, butt I want more!

filetype on
if has("autocmd") && exists("+omnifunc")
    autocmd Filetype *
               if &omnifunc == "" |
                   setlocal omnifunc=syntaxcomplete#Complete |
               endif
endif

pak si dej $ vim test.c, napis in<C-X><C-O> a uvidis sam :)
                                             - znouza -
--
  At a higher altitude with flag unfurled
  We reached the dizzy heights of that dreamed of world...
                                                          --

Search the boards