On 11/11/08 20:48, Penz wrote:
> Hi
>
> I use syntax folding in C, so that functions are all folded away.
> Then, everytime I hit C-X,C-O to start omnicompletion, the fold of the
> function I'm in closes (I guess only when it has to search other
> files).
>
> I have in my ~/.vim/ftplugin/c.vim:
>
i have no this issue. just try to update your omnicppcomplete. and add
a line:
set fdl=100
in your vimrc file.
good luck!
On 11月12日, 上午3时48分, Penz <[EMAIL PROTECTED]> wrote:
> Hi
>
> I use syntax folding in C, so that functions are all folded away.
> Then, everytime I hit C-X,C-O to start omnico
Hi
I use syntax folding in C, so that functions are all folded away.
Then, everytime I hit C-X,C-O to start omnicompletion, the fold of the
function I'm in closes (I guess only when it has to search other
files).
I have in my ~/.vim/ftplugin/c.vim:
---
setlocal fdm=syntax
source $VIMRUNTIME/ftpl