├── Mustache.tmbundle ├── Syntaxes │ └── HTML with mustaches.tmLanguage └── info.plist └── README.md /Mustache.tmbundle/Syntaxes/HTML with mustaches.tmLanguage: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | fileTypes 6 | 7 | mustache 8 | 9 | foldingStartMarker 10 | (?x) 11 | (<(?i:head|body|table|thead|tbody|tfoot|tr|div|select|fieldset|style|script|ul|ol|form|dl)\b.*?> 12 | |<!--(?!.*-->) 13 | |\{\s*($|\?>\s*$|//|/\*(.*\*/\s*$|(?!.*?\*/))) 14 | ) 15 | foldingStopMarker 16 | (?x) 17 | (</(?i:head|body|table|thead|tbody|tfoot|tr|div|select|fieldset|style|script|ul|ol|form|dl)> 18 | |^\s*--> 19 | |(^|\s)\} 20 | ) 21 | name 22 | HTML with mustaches 23 | patterns 24 | 25 | 26 | begin 27 | \{\{! 28 | end 29 | \}\} 30 | name 31 | comment.block.mustache 32 | 33 | 34 | begin 35 | \{\{[{<>#^/]? 36 | captures 37 | 38 | 0 39 | 40 | name 41 | entity.name.tag.mustache 42 | 43 | 44 | end 45 | \}?\}\} 46 | name 47 | source.mustache.embedded.html 48 | 49 | 50 | include 51 | text.html.basic 52 | 53 | 54 | scopeName 55 | text.html.mustache 56 | uuid 57 | 23C9A029-DEF3-42C2-9680-ED39392876E1 58 | 59 | 60 | -------------------------------------------------------------------------------- /Mustache.tmbundle/info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | name 6 | Mustache 7 | ordering 8 | 9 | 23C9A029-DEF3-42C2-9680-ED39392876E1 10 | 11 | uuid 12 | 97B391B6-1EBD-4162-8BAE-A42EF286DEEF 13 | 14 | 15 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Mustache.tmbundle 2 | 3 | For use with [Mustache](http://github.com/defunkt/mustache). 4 | 5 | By [Tekkub](http://github.com/tekkub). 6 | 7 | ## Installing 8 | 9 | ### Zip 10 | 11 | 1. [Download the zip](http://github.com/defunkt/Mustache.tmbundle/zipball/master) 12 | 2. Open the zip 13 | 3. Double click Mustache.tmbundle 14 | 15 | ![Example](http://img.skitch.com/20100306-njn7x63w9ppg285y4by377wwhy.png) 16 | 17 | ### Git 18 | 19 | git clone git://github.com/defunkt/Mustache.tmbundle 20 | cd Mustache.tmbundle 21 | open Mustache.tmbundle 22 | 23 | --------------------------------------------------------------------------------