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
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
Actually, just noticed that the rules that come right after comments
lose their color-coded highlighting.
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