Skip to content
Browse files

make haml support escaped Ruby blocks too

  • Loading branch information...
1 parent 63a9f72 commit df6a07dafb0c7562c2d9757857dcc81b7cf875c9 @bronson committed Dec 4, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 Packages/Rails/Ruby Haml.tmLanguage
View
4 Packages/Rails/Ruby Haml.tmLanguage
@@ -90,7 +90,7 @@
</dict>
</dict>
<key>end</key>
- <string>$|(?!\.|#|\{|\[|=|-|~|/)</string>
+ <string>$|(?!\.|#|\{|\[|(?:!?=)|-|~|/)</string>
<key>patterns</key>
<array>
<dict>
@@ -199,7 +199,7 @@
<key>rubyline</key>
<dict>
<key>begin</key>
- <string>=|-|~</string>
+ <string>(?:!?=)|-|~</string>
<key>contentName</key>
<string>source.ruby.embedded.haml</string>
<key>end</key>

0 comments on commit df6a07d

Please sign in to comment.
Something went wrong with that request. Please try again.