Skip to content

Commit d1aef69

Browse files
committed
Add more syntax groups inside interpolated expressions.
1 parent 1ed6465 commit d1aef69

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

syntax/php.vim

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -555,8 +555,7 @@ syn match phpSplatOperator "\.\.\." contained display
555555
" Identifier
556556
syn match phpIdentifier "$\h\w*" contained contains=phpSuperglobals,phpVarSelector display
557557
syn match phpIdentifierSimply "${\h\w*}" contains=phpOperator,phpParent contained display
558-
syn region phpIdentifierComplex matchgroup=phpParent start="{\$"rs=e-1 end="}" contains=phpIdentifier,phpMemberSelector,phpVarSelector,phpIdentifierArray contained extend
559-
syn region phpIdentifierArray matchgroup=phpParent start="\[" end="]" contains=@phpClInside contained
558+
syn region phpIdentifierComplex matchgroup=phpParent start="{\$"rs=e-1 end="}" contains=phpIdentifier,phpIdentifierSimply,phpSpecialChar,phpMethodsVar,phpStringSingle,phpStringDouble,phpBacktick,phpStrEsc contained extend
560559

561560
" Boolean
562561
syn keyword phpBoolean true false contained

0 commit comments

Comments
 (0)