В пн, 2007-01-22 в 14:05 +0530, Martin DeMello написа:
> On 1/20/07, litespeed59 <[EMAIL PROTECTED]> wrote:
> >
> > Looking at my .vimrc file, here are some of the settings that appear to be
> > relevant to indenting:
> >
> >   set autoindent
> >
> >   filetype plugin indent on
> >   autocmd FileType javascript setlocal cindent
> 
> Works beautifully, thanks!
> 
> martin

how would that work for this:
{
        foo: 1,
        bar: 2
}
wouldn't it indent the foo and bar to the left side (since cindent would
consider them as labels)
-- 
Виктор Кожухаров /Viktor Kojouharov/

Attachment: signature.asc
Description: Това е цифрово подписана част от писмото

Reply via email to