On Fri, 3 Nov 2006, A.J.Mechelynck wrote:

> Cezary Kułakowski wrote:
> > Hi,
> >
> >    I've recently updated my vim to 7.0.17 version (from some 6 version)
> > and I have very annoying problem with it: when I write some code in C++
> > vim doesn't add new tab after I make new scope (by "{\n") and doesn't
> > remove one tab after I close scope("}\n"). Can anybody met this problem
> > before?
> >
> > Thanks in advance,
> > Cezary Kulakowski
> >
>
> When you ask
>
>       :filetype
>
> does the reply include "indent:OFF" ?
>
> If it does, I recommend adding
>
>       runtime vimrc_example.vim
>
> near the top of your vimrc. If that's not enough, remove any "filetype indent
> off" in that same vimrc.
>
> see ":help :filetype"
>
>
> Best regards,
> Tony.
>


Yep, that was the problem(indenting off). After making changes in vimrc
everything's ok :).

Thanks a lot,
Czarek

Reply via email to