We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6c4c6cb + dd32c6a commit 54a49c8Copy full SHA for 54a49c8
blade.sublime-syntax
@@ -59,8 +59,8 @@ contexts:
59
0: punctuation.section.embedded.end.blade
60
pop: true
61
- include: 'scope:source.php'
62
-
63
- - match: '((\s{0}|^)(@)(php)(?![^?]*\(*\))|<\?(?i:php|=)?)(?![^?]*\?>)'
+
+ - match: '((\s{0}|^)(@)(php)(?!.*\(*\))|<\?(?i:php|=)?)(?![^?]*\?>)'
64
scope: punctuation.section.embedded.begin.php
65
captures:
66
0: punctuation.section.embedded.begin.php
test.blade.php
@@ -41,6 +41,8 @@
41
{{-- Inline PHP --}}
42
<div class="container">
43
@php(custom_function())
44
+ @php($bool = $var ?? false)
45
+ @php($bool = $bool ?: true)
46
</div>
47
48
@include('footer')
0 commit comments