| 1 |
{ |
| 2 |
"information_for_contributors": [ |
| 3 |
"This file has been converted from https://github.com/atom/language-php/blob/master/grammars/html.cson", |
| 4 |
"If you want to provide a fix or improvement, please create a pull request against the original repository.", |
| 5 |
"Once accepted there, we are happy to receive an update request." |
| 6 |
], |
| 7 |
"version": "https://github.com/atom/language-php/commit/ff64523c94c014d68f5dec189b05557649c5872a", |
| 8 |
"name": "php-html", |
| 9 |
"scopeName": "text.html.php", |
| 10 |
"injections": { |
| 11 |
"L:meta.embedded.php.blade": { |
| 12 |
"patterns": [ |
| 13 |
{ |
| 14 |
"include": "text.html.basic" |
| 15 |
}, |
| 16 |
{ |
| 17 |
"include": "text.html.php.blade#blade" |
| 18 |
} |
| 19 |
] |
| 20 |
}, |
| 21 |
"text.html.php - (meta.embedded | meta.tag), L:((text.html.php meta.tag) - (meta.embedded.block.php | meta.embedded.line.php)), L:(source.js - (meta.embedded.block.php | meta.embedded.line.php)), L:(source.css - (meta.embedded.block.php | meta.embedded.line.php))": { |
| 22 |
"patterns": [ |
| 23 |
{ |
| 24 |
"include": "#php-tag" |
| 25 |
} |
| 26 |
] |
| 27 |
} |
| 28 |
}, |
| 29 |
"patterns": [ |
| 30 |
{ |
| 31 |
"begin": "\\A#!", |
| 32 |
"beginCaptures": { |
| 33 |
"0": { |
| 34 |
"name": "punctuation.definition.comment.php" |
| 35 |
} |
| 36 |
}, |
| 37 |
"end": "$", |
| 38 |
"name": "comment.line.shebang.php" |
| 39 |
}, |
| 40 |
{ |
| 41 |
"include": "text.html.derivative" |
| 42 |
} |
| 43 |
], |
| 44 |
"repository": { |
| 45 |
"php-tag": { |
| 46 |
"patterns": [ |
| 47 |
{ |
| 48 |
"begin": "<\\?(?i:php|=)?(?![^?]*\\?>)", |
| 49 |
"beginCaptures": { |
| 50 |
"0": { |
| 51 |
"name": "punctuation.section.embedded.begin.php" |
| 52 |
} |
| 53 |
}, |
| 54 |
"end": "(\\?)>", |
| 55 |
"endCaptures": { |
| 56 |
"0": { |
| 57 |
"name": "punctuation.section.embedded.end.php" |
| 58 |
}, |
| 59 |
"1": { |
| 60 |
"name": "source.php" |
| 61 |
} |
| 62 |
}, |
| 63 |
"name": "meta.embedded.block.php", |
| 64 |
"contentName": "source.php", |
| 65 |
"patterns": [ |
| 66 |
{ |
| 67 |
"include": "source.php" |
| 68 |
} |
| 69 |
] |
| 70 |
}, |
| 71 |
{ |
| 72 |
"begin": "<\\?(?i:php|=)?", |
| 73 |
"beginCaptures": { |
| 74 |
"0": { |
| 75 |
"name": "punctuation.section.embedded.begin.php" |
| 76 |
} |
| 77 |
}, |
| 78 |
"end": "(\\?)>", |
| 79 |
"endCaptures": { |
| 80 |
"0": { |
| 81 |
"name": "punctuation.section.embedded.end.php" |
| 82 |
}, |
| 83 |
"1": { |
| 84 |
"name": "source.php" |
| 85 |
} |
| 86 |
}, |
| 87 |
"name": "meta.embedded.line.php", |
| 88 |
"contentName": "source.php", |
| 89 |
"patterns": [ |
| 90 |
{ |
| 91 |
"include": "source.php" |
| 92 |
} |
| 93 |
] |
| 94 |
} |
| 95 |
] |
| 96 |
} |
| 97 |
} |
| 98 |
} |
| 99 |
|