Permalink
Browse files

• Change comment.line to comment.line.slash

• Add \n? to the comment line match for scoping purposes.

#rubyline needs the \n? treatment as well but I havn't figured out how to easily make that work quite yet. ;)


git-svn-id: http://svn.textmate.org/trunk/Bundles/Haml.tmbundle@7199 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
  • Loading branch information...
1 parent 6c99a4d commit 654f46bd7f0bd80e15fdfc8c1004b32dfaad9fcb @infininight infininight committed May 10, 2007
Showing with 6 additions and 6 deletions.
  1. +6 −6 Syntaxes/Haml.tmLanguage
View
@@ -7,14 +7,14 @@
<string>haml</string>
<string>sass</string>
</array>
+ <key>foldingStartMarker</key>
+ <string>^\s*([-%#\:\.\w\=].*)\s$</string>
+ <key>foldingStopMarker</key>
+ <string>^\s*$</string>
<key>keyEquivalent</key>
<string>^~H</string>
<key>name</key>
<string>Haml</string>
- <key>foldingStartMarker</key>
- <string>^\s*([-%#\:\.\w\=].*)\s$</string>
- <key>foldingStopMarker</key>
- <string>^\s*$</string>
<key>patterns</key>
<array>
<dict>
@@ -41,9 +41,9 @@
</dict>
</dict>
<key>match</key>
- <string>^ *(/)\s*\S.*</string>
+ <string>^ *(/)\s*\S.*$\n?</string>
<key>name</key>
- <string>comment.line.haml</string>
+ <string>comment.line.slash.haml</string>
</dict>
<dict>
<key>begin</key>

0 comments on commit 654f46b

Please sign in to comment.