This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
Loading…
Labels












There are two things you can do to fix this:
Removing the caret as you suggest works, but it causes for nested 'loud comments' to no longer get scoped as a comment. Do you know what would be required to get them scoped as comments also? The start pattern would be slash followed by a star and the end pattern would be the first line encountered that is NOT indented.
^(?! ) did the trick: http://github.com/charlesr/ruby-sass-tmbundle/commit/73556bf7b45edbdad89c42bb09552dbc10421ec2
I've pushed this fix to my fork; will also issue a pull request.
Well I think that improves the situation. However this still does not get highlighted:
If I indent that comment (to match the indention of the subsequent macro definition) the highlighting lights up.
Have you tried the latest updates on my fork that incorporate fixes by Matt Pizzimenti @mjpizz?
I just did this:
And can confirm that the example above is still broken. For example, this does not highlight:
Everything should be a gray comment in that example. Indenting beneath a comment makes everything indented a comment.
In this example, everything under the comment should NOT be highlighted as a comment (but is, even with charlesr's fork):
Gracious! You're right. That is so wierd. But you've fixed a bug in my code. Thanks!
http://sass-lang.com/docs/yardoc/SASS_REFERENCE.md.html#sass_comments_
You're welcome! :) Yeah, if you follow the SASS bundle then you'll think things are commented out when they're not. I hope someone repairs the bundle to show what is truly considered a comment by the SASS engine (the entire line that contains a comment and anything that is indented under that comment ONLY).
@cannikin, in your example there's only one slash before the 'foo' - is that a typo or did you intend it that way? That example is working fine for me in E Text Editor - everything under the comment is not being highlighted.
I've pushed another update to my fork because I noticed CSS 'loud comments' no longer worked. I've also updated the testhighlight.sass file to reflect the examples in the Sass docs. For me in E, everything is highlighting as it should. Would appreciate feedback on what it looks like in TM. Cheers.
I've updated the testhighlight.sass file and checked the highlighting in both E and Sublime and both work as expected. I think we can close this unless there are still problems on TM?
@charlesr are you the new maintainer @ausiegeek asked for? If so then I agree we can close this, otherwise I move we keep it open until the fix is migrated to the maintainer's repo.
Yep, things look good for me, close away!
@Bill, good point, @aussiegeek hasn't merged in the fixes yet.