Skip to content

Commit af7ee47

Browse files
committed
Allow one line comments in argument list
1 parent 8f09af6 commit af7ee47

File tree

1 file changed

+11
-14
lines changed

1 file changed

+11
-14
lines changed

src/Templates/highlight.php/php.json

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,15 @@
204204
"_": "variable"
205205
},
206206
{
207-
"$ref": "#contains.10.contains.3.contains.2",
207+
"$ref": "#contains.3",
208+
"_": "comment"
209+
},
210+
{
211+
"$ref": "#contains.4",
212+
"_": "comment"
213+
},
214+
{
215+
"$ref": "#contains.5",
208216
"_": "comment"
209217
},
210218
{
@@ -258,19 +266,8 @@
258266
"_": "variable"
259267
},
260268
{
261-
"className": "comment",
262-
"begin": "/\\*",
263-
"end": "\\*/",
264-
"contains": [
265-
{
266-
"$ref": "#contains.2.contains.0"
267-
},
268-
{
269-
"className": "doctag",
270-
"begin": "(?:TODO|FIXME|NOTE|BUG|XXX):",
271-
"relevance": 0
272-
}
273-
]
269+
"$ref": "#contains.5",
270+
"_": "comment"
274271
},
275272
{
276273
"className": "string",

0 commit comments

Comments
 (0)