package tm-grammars
Source file tm_grammar_angular_template.ml
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40let lang_id = "angular-template" let json = {json|{ "injectTo": [ "text.html.derivative", "text.html.derivative.ng", "source.ts.ng" ], "injectionSelector": "L:text.html -comment", "name": "angular-template", "patterns": [ { "include": "#interpolation" } ], "repository": { "interpolation": { "begin": "\\{\\{", "beginCaptures": { "0": { "name": "punctuation.definition.block.ts" } }, "contentName": "expression.ng", "end": "}}", "endCaptures": { "0": { "name": "punctuation.definition.block.ts" } }, "patterns": [ { "include": "expression.ng" } ] } }, "scopeName": "template.ng" }|json}