Re: fold close when using omnicompletion and syntax folding

2008-11-12 Thread Tony Mechelynck
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: >

Re: fold close when using omnicompletion and syntax folding

2008-11-11 Thread StarWing
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

fold close when using omnicompletion and syntax folding

2008-11-11 Thread Penz
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