В пн, 2007-01-22 в 08:39 -0800, litespeed59 написа:
> Viktor,
> 
> I can't really explain why, but I know that c indent does handle examples
> like yours just fine. I often define objects using syntax like this (pardon
> the ridiculous, non real world example):
> 
>   var BASE = {
>     methodName: function() {
>       if (true) {
>         // do something
>       }
>     },
> 
>     anotherMethodName: function() {
>       // do something else here
>     }
>   };
> 
> Vim always seems to get the indenting right using the settings that I
> outlined.
> 
> Regards,
> Trev

that doesn't work here. Even if i remove the ':' from cinkeys, it still
indents from the begining when i use the '==' command
> 
> 
> Виктор Кожухаров wrote:
> > 
> > В пн, 2007-01-22 в 14:05 +0530, Martin DeMello написа:
> > 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/
> > 
> >  
> > 
> 
-- 
Виктор Кожухаров /Viktor Kojouharov/

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

Reply via email to