Added support for @php (both the multiline and single line variants)
I tried to make a syntax region for @verbatim, and only highlight html tags and <?php tags in that region, but it did'nt really work well so I just added it to the bladeKeywords group for now. I did add tests for how it should be.
Other stuff
Add note to todo comments and allow those comments to be uppercase.
A recent change to blade allows for :: in directives, added support for that.
Custom directives
Blade allows for custom directives so now you can define those through some variables (
g:blade_custom_directives
andg:blade_custom_directives_pairs
).Missing directives
Added blade directives
@elsecan
,@cannot
,@elsecannot
,@endcannot
,@lang
,@choice
,@break
,@continue
,@verbatim
,@endverbatim
.Added indent for
@append
and@overwrite
Added support for @php (both the multiline and single line variants)
I tried to make a
syntax region
for@verbatim
, and only highlight html tags and<?php
tags in that region, but it did'nt really work well so I just added it to the bladeKeywords group for now. I did add tests for how it should be.Other stuff
Add
note
to todo comments and allow those comments to be uppercase.A recent change to blade allows for :: in directives, added support for that.