Permalink
Browse files

Initial version

  • Loading branch information...
0 parents commit 6eae95cccf6fcd903677ff401834b1847cbcc595 @tekkub tekkub committed Nov 12, 2009
Showing with 65 additions and 0 deletions.
  1. +51 −0 Syntaxes/HTML with mustaches.tmLanguage
  2. +14 −0 info.plist
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>fileTypes</key>
+ <array>
+ <string>mustache</string>
+ </array>
+ <key>foldingStartMarker</key>
+ <string>(?x)
+ (&lt;(?i:head|body|table|thead|tbody|tfoot|tr|div|select|fieldset|style|script|ul|ol|form|dl)\b.*?&gt;
+ |&lt;!--(?!.*--&gt;)
+ |\{\s*($|\?&gt;\s*$|//|/\*(.*\*/\s*$|(?!.*?\*/)))
+ )</string>
+ <key>foldingStopMarker</key>
+ <string>(?x)
+ (&lt;/(?i:head|body|table|thead|tbody|tfoot|tr|div|select|fieldset|style|script|ul|ol|form|dl)&gt;
+ |^\s*--&gt;
+ |(^|\s)\}
+ )</string>
+ <key>name</key>
+ <string>HTML with mustaches</string>
+ <key>patterns</key>
+ <array>
+ <dict>
+ <key>begin</key>
+ <string>\{\{[&lt;&gt;!#/]?</string>
+ <key>captures</key>
+ <dict>
+ <key>0</key>
+ <dict>
+ <key>name</key>
+ <string>entity.name.tag.mustache</string>
+ </dict>
+ </dict>
+ <key>end</key>
+ <string>\}\}</string>
+ <key>name</key>
+ <string>source.mustache.embedded.html</string>
+ </dict>
+ <dict>
+ <key>include</key>
+ <string>text.html.basic</string>
+ </dict>
+ </array>
+ <key>scopeName</key>
+ <string>text.html.mustache</string>
+ <key>uuid</key>
+ <string>23C9A029-DEF3-42C2-9680-ED39392876E1</string>
+</dict>
+</plist>
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>name</key>
+ <string>Mustache</string>
+ <key>ordering</key>
+ <array>
+ <string>23C9A029-DEF3-42C2-9680-ED39392876E1</string>
+ </array>
+ <key>uuid</key>
+ <string>97B391B6-1EBD-4162-8BAE-A42EF286DEEF</string>
+</dict>
+</plist>

0 comments on commit 6eae95c

Please sign in to comment.