Updates to ruby-sass-tmbundle

13 views
Skip to first unread message

Charles Roper

unread,
Oct 13, 2009, 3:55:00 AM10/13/09
to ha...@googlegroups.com, compass-users
Hey all,

I've just pushed some changes to my fork of aussiegeek's
ruby-sass-tmbundle. Syntax highlighting has been a problem in this
bundle for a while but I've merged in some additions from other forks
and added a sprinkle of my own. It seems to be working fine for me in
E Text Editor, but there are some reports of it still not working
correctly I guess on Textmate.

Could someone please give it a test and let me know, please? There's a
testhighlight.sass file in the root of the bundle, which uses examples
taken from the docs.

Chris/Nathan, are there any edge cases these examples don't cover?

http://github.com/charlesr/ruby-sass-tmbundle

Cheers,
Charles
--
Charles Roper
http://charlesroper.com | http://twitter.com/charlesroper

Nathan Weizenbaum

unread,
Oct 13, 2009, 4:35:03 AM10/13/09
to ha...@googlegroups.com, compass-users
If we're just talking comment edge-cases, that's about it, although it might be nice to make sure it works without any text after the "/*" or "//".

Charles Roper

unread,
Oct 14, 2009, 4:18:36 AM10/14/09
to compas...@googlegroups.com, ha...@googlegroups.com
On 13/10/2009 09:35, Nathan Weizenbaum wrote:
> If we're just talking comment edge-cases, that's about it, although it
> might be nice to make sure it works without any text after the "/*" or "//".

I've tested these cases on both E Text Editor and Sublime and both work
as expected (although E does seem to have a rendering bug, which I've
reported to Alexander Stigsen, the author - I don't think it's a fault
of the grammar).

E screenshot:
http://dl.getdropbox.com/u/256478/screenshots/sass%20-%20e.png

Sublime video:
http://tr.im/BJN3

Can anyone confirm whether it works correctly on TM?

I just pushed a change that includes these new test cases:

http://github.com/charlesr/ruby-sass-tmbundle

Cheers,
Charles

pegasus4747

unread,
Oct 19, 2009, 6:52:58 PM10/19/09
to Haml
> Can anyone confirm whether it works correctly on TM?
>
> I just pushed a change that includes these new test cases:
>
> http://github.com/charlesr/ruby-sass-tmbundle

Hi Charles,

Yes, I believe it works in TM. I've been waiting for this. Thanks for
the good work!

By the way, the README in your repo still references aussiegeek's
repo, which had me installing the wrong version for a while.

Any chance we can get class and variable highlights?

Thanks again!

pegasus4747

unread,
Oct 20, 2009, 12:56:06 PM10/20/09
to Haml
Actually, just noticed that the rules that come right after comments
lose their color-coded highlighting.

Charles Roper

unread,
Oct 20, 2009, 3:41:08 PM10/20/09
to ha...@googlegroups.com


2009/10/20 pegasus4747 <sut...@gmail.com>


Actually, just noticed that the rules that come right after comments
lose their color-coded highlighting.


Could you possibly post a screenshot of this please? I'm not seeing this behaviour in either E Text Editor or Sublime Text.

Are you also able to post a screenshot of the testhighlight.sass found in the root of the bundle?

Many thanks,
Charles

pegasus4747

unread,
Oct 21, 2009, 2:24:00 AM10/21/09
to Haml

Charles Roper

unread,
Oct 21, 2009, 11:41:43 AM10/21/09
to ha...@googlegroups.com

Ah, got it. My custom theme wasn't making a distinction in the
highlighting; switching to a different theme showed up the problem in E,
though.

Take a look at the latest update I just pushed to github which fixes the
problem for me in E.

http://github.com/charlesr/ruby-sass-tmbundle

Let me know how it goes in TM.

Cheers,
Charles

pegasus4747

unread,
Oct 21, 2009, 12:46:46 PM10/21/09
to Haml
It works. Thanks a lot!

Just curious, would it be possible to get class and variable
highlights?

Thanks for the hard work.
Reply all
Reply to author
Forward
0 new messages