Permalink
Browse files

Merge pull request #1 from singingwolfboy/master

add firstLineMatch for HTML Jinja Templates
  • Loading branch information...
2 parents 1758a1b + 88005a8 commit 5389e1d107067f61ea268371bf7aedf44ba8ccb5 @mitsuhiko committed Oct 3, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 Syntaxes/HTML (Jinja Templates).tmLanguage
@@ -4,6 +4,8 @@
<dict>
<key>fileTypes</key>
<array/>
+ <key>firstLineMatch</key>
+ <string>^{% extends ["'][^"']+["'] %}</string>
<key>foldingStartMarker</key>
<string>(&lt;(?i:(head|table|tr|div|style|script|ul|ol|form|dl))\b.*?&gt;|{%\s*(block|filter|for|if|macro|raw))</string>
<key>foldingStopMarker</key>

0 comments on commit 5389e1d

Please sign in to comment.