Permalink
Browse files

Make Haml's escaping &= appear the same as =

  • Loading branch information...
1 parent 6b9f7f3 commit 9957a7c8f8d3fafa9af26687bbf5c062d7bb6019 @bronson bronson committed Sep 11, 2013
Showing with 3 additions and 3 deletions.
  1. +3 −3 Ruby Haml.tmLanguage
View
@@ -90,7 +90,7 @@
</dict>
</dict>
<key>end</key>
- <string>$|(?!\.|#|\{|\[|!?=|-|~|/)</string>
+ <string>$|(?!\.|#|\{|\[|[&amp;!]?=|-|~|/)</string>
<key>patterns</key>
<array>
<dict>
@@ -169,7 +169,7 @@
</dict>
<dict>
<key>begin</key>
- <string>^\s*(?=!?=|-|~)</string>
+ <string>^\s*(?=[&amp;!]?=|-|~)</string>
<key>end</key>
<string>$</string>
<key>patterns</key>
@@ -199,7 +199,7 @@
<key>rubyline</key>
<dict>
<key>begin</key>
- <string>!?=|-|~</string>
+ <string>[&amp;!]?=|-|~</string>
<key>contentName</key>
<string>source.ruby.embedded.haml</string>
<key>end</key>

0 comments on commit 9957a7c

Please sign in to comment.