]> gitweb.factorcode.org Git - factor.git/blob - misc/atom/grammars/html (factor).cson
stomp.cli: simplify
[factor.git] / misc / atom / grammars / html (factor).cson
1 fileTypes: [
2   "furnace"
3   "fhtml"
4 ]
5 foldingStartMarker: '''
6   (?x)
7                 (<(?i:head|body|table|thead|tbody|tfoot|tr|div|select|fieldset|style|script|ul|ol|form|dl)\\b.*?>
8                 |<!--(?!.*-->)
9                 |\\{\\s*($|\\?>\\s*$|//|/\\*(.*\\*/\\s*$|(?!.*?\\*/)))
10                 )
11 '''
12 foldingStopMarker: '''
13   (?x)
14                 (</(?i:head|body|table|thead|tbody|tfoot|tr|div|select|fieldset|style|script|ul|ol|form|dl)>
15                 |^\\s*-->
16                 |(^|\\s)\\}
17                 )
18 '''
19 name: "HTML (Factor)"
20 patterns: [
21   {
22     begin: "<%\\s"
23     end: "(?<=\\s)%>"
24     name: "source.factor.embedded.html"
25     patterns: [
26       {
27         include: "source.factor"
28       }
29     ]
30   }
31   {
32     include: "text.html.basic"
33   }
34 ]
35 scopeName: "text.html.factor"