X-Git-Url: https://jasonwoof.com/gitweb/?p=vim-syntax.git;a=blobdiff_plain;f=php.vim;h=2c49c64ddc1aea8207e0406c2378cf32a72ca61d;hp=0d4342b1da6d01dfd6aa192906442f9b4672cbaf;hb=f012d08ad3c22a9b4e2dce4d83aa4e33d248215a;hpb=12c32c391a7c346a90898f38dc82e110c493074f diff --git a/php.vim b/php.vim index 0d4342b..2c49c64 100644 --- a/php.vim +++ b/php.vim @@ -297,10 +297,10 @@ syn region phpIdentifierComplexP matchgroup=phpParent start="\[" end="]" contai " Interpolated indentifiers (inside strings) syn match phpBrackets "[][}{]" contained display " errors - syn match phpInterpSimpleError "\[[^]]*\]" contained display + syn match phpInterpSimpleError "\[[^]]*\]" contained display " fallback (if nothing else matches) syn match phpInterpSimpleError "->[^a-zA-Z_]" contained display " make sure these stay above the correct DollarCurlies so they don't take priority - syn match phpInterpBogusDollarCurley "${.*}" contained display + syn match phpInterpBogusDollarCurley "${[^}]*}" contained display " fallback (if nothing else matches) syn match phpinterpSimpleBracketsInner "\w\+" contained syn match phpInterpSimpleBrackets "\[\h\w*]" contained contains=phpBrackets,phpInterpSimpleBracketsInner syn match phpInterpSimpleBrackets "\[\d\+]" contained contains=phpBrackets,phpInterpSimpleBracketsInner