Skip to content

Commit

Permalink
Fix javascript highlighting
Browse files Browse the repository at this point in the history
The following now works:

  // The body tag is highlighted correctly
  script(type="text/javascript")
    var a = "javascript";
    function foo() {

    }
  body
  • Loading branch information
Luke Gallagher committed Aug 11, 2011
1 parent d61d368 commit 4462237
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Syntaxes/Jade.tmLanguage
Expand Up @@ -65,7 +65,7 @@
</dict>
</dict>
<key>end</key>
<string>(^(\1)(?=(\w|$\n?))|^$\n?)</string>
<string>^((?=(\1)([\w#\.]|$\n?))|^$\n?)</string>
<key>name</key>
<string>source.js.embedded.jade</string>
<key>patterns</key>
Expand Down

0 comments on commit 4462237

Please sign in to comment.