-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
633c8e9
commit 7d1f51b
Showing
8 changed files
with
86 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<snippet> | ||
<content><![CDATA[ | ||
@auth(${1:'optional guard'}) | ||
${2:content} | ||
@endauth | ||
]]></content> | ||
<tabTrigger>Blade::auth</tabTrigger> | ||
<scope>text.blade</scope> | ||
<description>Blade @auth</description> | ||
</snippet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<snippet> | ||
<content><![CDATA[ | ||
@component('${1:alert}') | ||
${2:content} | ||
@endcomponent | ||
]]></content> | ||
<tabTrigger>Blade::component</tabTrigger> | ||
<scope>text.blade</scope> | ||
<description>Blade @component</description> | ||
</snippet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<snippet> | ||
<content><![CDATA[ | ||
@empty('${1:\$records}') | ||
${2:content} | ||
@endempty | ||
]]></content> | ||
<tabTrigger>Blade::empty</tabTrigger> | ||
<scope>text.blade</scope> | ||
<description>Blade @empty</description> | ||
</snippet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<snippet> | ||
<content><![CDATA[ | ||
@guest(${1:'optional guard'}) | ||
${2:content} | ||
@endguest | ||
]]></content> | ||
<tabTrigger>Blade::guest</tabTrigger> | ||
<scope>text.blade</scope> | ||
<description>Blade @guest</description> | ||
</snippet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<snippet> | ||
<content><![CDATA[ | ||
@isset('${1:\$records}') | ||
${2:content} | ||
@endisset | ||
]]></content> | ||
<tabTrigger>Blade::isset</tabTrigger> | ||
<scope>text.blade</scope> | ||
<description>Blade @isset</description> | ||
</snippet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<snippet> | ||
<content><![CDATA[ | ||
@slot('${1:title}') | ||
${2:content} | ||
@endslot | ||
]]></content> | ||
<tabTrigger>Blade::slot</tabTrigger> | ||
<scope>text.blade</scope> | ||
<description>Blade @slot</description> | ||
</snippet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<snippet> | ||
<content><![CDATA[ | ||
@switch('${1:\$value}') | ||
@case(${2:'case1'}) | ||
${3:First case...} | ||
@break; | ||
${4:@default | ||
Default case...} | ||
@endswitch | ||
]]></content> | ||
<tabTrigger>Blade::switch</tabTrigger> | ||
<scope>text.blade</scope> | ||
<description>Blade @switch</description> | ||
</snippet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
|
||
<snippet> | ||
<content><![CDATA[ | ||
@verbatim | ||
${1:content} | ||
@endverbatim | ||
]]></content> | ||
<tabTrigger>Blade::verbatim</tabTrigger> | ||
<scope>text.blade</scope> | ||
<description>Blade @verbatim</description> | ||
</snippet> |