Skip to content

Commit 8264f79

Browse files
author
Doğa Gürdal
committed
fix(snippets/php): use choice placeholder in component asset dependency snippet
and set path placeholder cursor position to after vendor/ string since that is the most used path with very few exceptions
1 parent 140ed1c commit 8264f79

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

snippets/php.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
"body": [
1515
"[",
1616
"\t'name' => '$1',",
17-
"\t'path' => '${2:vendor/}',",
18-
"\t'type' => '${3:script|style}'",
17+
"\t'path' => 'vendor/$2',",
18+
"\t'type' => '${3|script,style|}'",
1919
"],$4"
2020
]
2121
},

0 commit comments

Comments
 (0)