Skip to content

Commit 63fc9bb

Browse files
author
Doğa Gürdal
committed
feat(snippets/twig): add twig area snippet
1 parent 8fcdf47 commit 63fc9bb

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@
3232
{
3333
"language": "php",
3434
"path": "./snippets/php.json"
35+
},
36+
{
37+
"language": "twig",
38+
"path": "./snippets/twig.json"
3539
}
3640
]
3741
},

snippets/twig.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"Component Area": {
3+
"prefix": "flyntArea",
4+
"body": "{{ area('$1') }}"
5+
}
6+
}

0 commit comments

Comments
 (0)