Wednesday, September 1, 2010

Re: vim 7.1 vs. vim 7.2 multi line commenting

On Tue, Aug 31, 2010 at 10:37 PM, Ivan S. Freitas
<ivansichfreitas@gmail.com> wrote:
> On Tue, Aug 31, 2010 at 4:34 PM, Pavan Savoy <pavan_savoy@sify.com> wrote:
>> Hi,
>>
>> In vim 7.1 I remember there was this feature where as soon as I type
>> /* the next * on the next line was automatically printed, where is
>> this feature now?
>> I have all the same .vimrc from 7.1, and same packages, but it doesn't
>> seem to be working :(
>
> Can you paste your .vimrc?
> AFAIK this is enabled by cindent option (try "set cindent" on the
> .vimrc). Also, verify if your vim was compiled with the indentation
> features.

vimrc on 7.1 where auto printing of * after 1st /* works...
:syntax on
:set smartindent
match Todo /\s\+$/

vimrc on 7.1 where it doesn't work,
:syntax enable
:set smartindent
match Todo /\s\+$/
:set background=dark
:set hlsearch

I don't have cindent in either of them, but it works on 7.1 beautifully....
and this is annoying with vim7.2

>>
>> Please help.
>>
>> --
>> You received this message from the "vim_use" maillist.
>> Do not top-post! Type your reply below the text you are replying to.
>> For more information, visit http://www.vim.org/maillist.php
>>
>
>
>
> --
> ==============================================
> Ivan Sichmann Freitas
> Engenharia de Computação 2009
> UNICAMP
> http://identi.ca/ivansichmann
> Grupo Pró Software Livre UNICAMP - GPSL
> ==============================================
>
> --
> You received this message from the "vim_use" maillist.
> Do not top-post! Type your reply below the text you are replying to.
> For more information, visit http://www.vim.org/maillist.php
>

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: