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 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/ftplugin/c.vim
> ---
> If I remove the 'fdm' line, it works. Is there a better place to set
> syntax folding so that omnicompletion does not get folded?
>
> Cheers
> Leandro Penz
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to