File tree Expand file tree Collapse file tree 4 files changed +41
-5
lines changed Expand file tree Collapse file tree 4 files changed +41
-5
lines changed Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ contexts:
78
78
0 : punctuation.section.embedded.end.php
79
79
pop : true
80
80
81
- - match : ' (\s{0}|^)(\@)\b(debug|embed|macrodef|set|unset|if|elseif|forelse|foreach|for|while|extends|unless|each|yield|lang|choice|section|include|render|block|can|cannot|inject|partial|hasSection|elsecan|elsecannot|stack|push|layout|continue|break|minify|macro|servers|task|hipchat|slack|story|wpposts|acfrepeater)\b(?=(|\s*|)\()'
81
+ - match : ' (\s{0}|^)(\@)\b(debug|embed|macrodef|set|unset|if|elseif|forelse|foreach|for|while|extends|unless|each|yield|lang|choice|section|include|render|block|can|cannot|inject|partial|hasSection|elsecan|elsecannot|stack|push|layout|continue|break|minify|macro|servers|task|hipchat|slack|story|wpposts|acfrepeater|component|slot )\b(?=(|\s*|)\()'
82
82
captures :
83
83
0 : punctuation.section.embedded.php
84
84
2 : constant.other.inline-data.html
@@ -90,7 +90,7 @@ contexts:
90
90
pop : true
91
91
- include : ' scope:source.php'
92
92
93
- - match : ' (\s{0}|^)(\@)\b(breakpoint|endmacro|endembed|empty|endif|endforelse|endforeach|endfor|endwhile|else|endunless|show|stop|endblock|endpartial|continue|break|endsection|parent|overwrite|endcan|endcannot|append|endpush|markdown|endmarkdown|endminify|endtask|setup|after|endsetup|endafter|endstory|wpquery|wpempty|wpend|acfend)\b'
93
+ - match : ' (\s{0}|^)(\@)\b(breakpoint|endmacro|endembed|empty|endif|endforelse|endforeach|endfor|endwhile|else|endunless|show|stop|endblock|endpartial|continue|break|endsection|parent|overwrite|endcan|endcannot|append|endpush|markdown|endmarkdown|endminify|endtask|setup|after|endsetup|endafter|endstory|wpquery|wpempty|wpend|acfend|endcomponent|endslot )\b'
94
94
scope : custom.compiler.blade.php
95
95
captures :
96
96
0 : punctuation.section.embedded.php
Original file line number Diff line number Diff line change 26
26
{
27
27
"sublime_text" : " >3084" ,
28
28
"platforms" : [" windows" , " osx" , " linux" ],
29
- "version" : " 1.6.2 " ,
30
- "url" : " https://nodeload.github.com/Medalink/laravel-blade/zip/1.6.2 " ,
31
- "date" : " 2016-10-01 09:35:00"
29
+ "version" : " 1.6.3 " ,
30
+ "url" : " https://nodeload.github.com/Medalink/laravel-blade/zip/1.6.3 " ,
31
+ "date" : " 2016-11-16 09:35:00"
32
32
}
33
33
]
34
34
}
Original file line number Diff line number Diff line change @@ -333,3 +333,21 @@ This comment will not be in the rendered HTML
333
333
git
334
334
composer install
335
335
@endstory
336
+
337
+ @component (' layouts.app' )
338
+ @slot (' title' )
339
+ Home Page
340
+ @endslot
341
+
342
+ <div class =" col-6" >
343
+ @component (' inc.alert' )
344
+ This is the alert message here.
345
+ @endcomponent
346
+ <h1 >Welcome</h1 >
347
+ </div >
348
+ <div class =" col-6" >
349
+ @component (' inc.sidebar' )
350
+ This is my sidebar text.
351
+ @endcomponent
352
+ </div >
353
+ @endcomponent
Original file line number Diff line number Diff line change 333
333
git
334
334
composer install
335
335
@endstory
336
+
337
+ @component (' layouts.app' )
338
+ @slot (' title' )
339
+ Home Page
340
+ @endslot
341
+
342
+ <div class =" col-6" >
343
+ @component (' inc.alert' )
344
+ This is the alert message here.
345
+ @endcomponent
346
+ <h1 >Welcome</h1 >
347
+ </div >
348
+ <div class =" col-6" >
349
+ @component (' inc.sidebar' )
350
+ This is my sidebar text.
351
+ @endcomponent
352
+ </div >
353
+ @endcomponent
You can’t perform that action at this time.
0 commit comments