Re: Omni Completion : Notes and issues
- Dnia poniedziałek, 24 października 2005 14:04, Martin Stubenschrott
> Because there was some discussion about changing omni completion[cut]
> What about this idea:
> The writer of the omni completion plugin can define some characters or
> strings at which the omnifunc is called automatically.
> For C++ code, one should say:
> :set omnifunctriggers=".,->,::,("
> or if multicharacter strings are too difficult to handle, then just:
> :set omnifunctriggers=".,>,:,("
>I like it with extension behaviour of omnifunctriggers by function
> To enable this real "intelli*" behavior with automatic popup after . ->
> or :: are pressed, one would just :set completeopt=menu,auto
> What do you think about this idea?
(similar to indent, folding etc.).
Not always completion is required after some character but in broader