Skip to content

Commit cc58e8f

Browse files
committed
Updated Twig code highlighter
1 parent 4475ac5 commit cc58e8f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Templates/highlight.php/twig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,13 @@
2828
{
2929
"className": "name",
3030
"begin": "\\w+",
31-
"keywords": "autoescape block do embed extends filter flush for if import include macro sandbox set spaceless use verbatim endautoescape endblock enddo endembed endextends endfilter endflush endfor endif endimport endinclude endmacro endsandbox endset endspaceless enduse endverbatim",
31+
"keywords": "apply autoescape block deprecated do embed extends filter flush for from if import include macro sandbox set use verbatim with endapply endautoescape endblock enddeprecated enddo endembed endextends endfilter endflush endfor endfrom endif endimport endinclude endmacro endsandbox endset enduse endverbatim endwith",
3232
"starts": {
3333
"endsWithParent": true,
3434
"contains": [
3535
{
3636
"begin": "\\|[A-Za-z_]+:?",
37-
"keywords": "abs batch capitalize convert_encoding date date_modify default escape first format join json_encode keys last length lower merge nl2br number_format raw replace reverse round slice sort split striptags title trim upper url_encode",
37+
"keywords": "abs batch capitalize column convert_encoding date date_modify default escape filter first format inky_to_html inline_css join json_encode keys last length lower map markdown merge nl2br number_format raw reduce replace reverse round slice sort spaceless split striptags title trim upper url_encode",
3838
"contains": [
3939
{
4040
"beginKeywords": "attribute block constant cycle date dump include max min parent random range source template_from_string",

0 commit comments

Comments
 (0)