Skip to content

Commit

Permalink
Merge pull request #20 from drosen0/patch-1
Browse files Browse the repository at this point in the history
Fix for block comment syntax
  • Loading branch information
tj committed Aug 11, 2012
2 parents 367ef78 + ca21b51 commit 8d96299
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Syntaxes/Jade.tmLanguage
Expand Up @@ -40,13 +40,13 @@
</dict>
</dict>
<key>match</key>
<string>^ *(//)\s*\S.*$\n?</string>
<string>^\s*(//-?)(?:\s*[^-\s]|\s+\S).*$\n?</string>
<key>name</key>
<string>comment.line.double-slash.jade</string>
</dict>
<dict>
<key>begin</key>
<string>^(\s*)(//)\s*$</string>
<string>^(\s*)(//-?)\s*$</string>
<key>beginCaptures</key>
<dict>
<key>2</key>
Expand All @@ -56,7 +56,7 @@
</dict>
</dict>
<key>end</key>
<string>^(?!\1\s+)</string>
<string>^(?!\1\s+|$)</string>
<key>name</key>
<string>comment.block.jade</string>
</dict>
Expand Down

0 comments on commit 8d96299

Please sign in to comment.