Two things:

1. If you use textmate, no plugin is required to perform css2sass.  
Just right click in the editor area and choose Filter through Command  
(or press cmd-opt-R). Choose the right settings in the dialog box,  
fill in "css2sass" and voilĂ .

2. There are Haml syntax plugins for Textmate that will highlight  
*some* invalid syntax. Specifically, semicolons at the end of lines  
and an extra colon around a selector (eg. :color: )

I suppose this only helps if you're on a mac with textmate. If you  
aren't... why not? =P

:brad


On Aug 27, 2009, at 23:41, Nathan Weizenbaum <[email protected]> wrote:

> This is something that will probably become allowed as we move to  
> allow more CSS-like syntax.
>
> On Wed, Aug 19, 2009 at 5:51 PM, Bill Burcham  
> <[email protected]> wrote:
>
> New to SASS so I naturally started w/ the "colon after the property
> name" syntax since it's close to CSS. However I notice the colon has
> to be right next to the property name. No whitespace is allowed. So
> this works:
>
>  text-transform: none
>
> But this does not:
>
>  text-transform : none
>
> The SASS doc says simply that the colon must be "between" the property
> name and its value (not that whitespace is illegal before the colon).
> IIRC CSS also allows space before. (at least this person thinks so:
> http://www.css-zibaldone.com/articles/syntax/css-syntax.html)
>
>
>
>
> >

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Haml" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/haml?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to