Permalink
Browse files

Add a hack to let ruby comments function properly inside a Haml ruby …

…context

git-svn-id: http://svn.textmate.org/trunk/Bundles/Haml.tmbundle@6474 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
  • Loading branch information...
1 parent 935f76b commit 322745a5dff1ba9b93362155b1e7c937a3338c94 @kballard kballard committed Jan 22, 2007
Showing with 8 additions and 0 deletions.
  1. +8 −0 Syntaxes/Haml.tmLanguage
View
@@ -217,6 +217,14 @@
<key>patterns</key>
<array>
<dict>
+ <key>comment</key>
+ <string>Hack to let ruby comments work in this context properly</string>
+ <key>match</key>
+ <string>#.*$</string>
+ <key>name</key>
+ <string>comment.line.number-sign.ruby</string>
+ </dict>
+ <dict>
<key>include</key>
<string>source.ruby.rails</string>
</dict>

0 comments on commit 322745a

Please sign in to comment.