Skip to content

Commit da8cc76

Browse files
committed
adding a lineage match key config option
1 parent 84e090c commit da8cc76

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@
3232
"config": [
3333
{
3434
"patternExtension": "twig",
35-
"lineageMatch": "{{>([ ]+)?([A-Za-z0-9-_]+)(?:\:[A-Za-z0-9-]+)?(?:(| )\(.*)?([ ]+)?}}",
35+
"lineageMatch": "{%([ ]+)?include [\"\']([A-Za-z0-9-_]+)[\"\'](.*)%}",
36+
"lineageMatchKey": 2,
3637
"twigDebug": false,
3738
"twigDefaultDateFormat": "",
3839
"twigDefaultIntervalFormat": "",

0 commit comments

Comments
 (0)