From 618ffcdc976c16d0d9c9964b31e34c47c5df7ff2 Mon Sep 17 00:00:00 2001 From: Indrek Ardel Date: Sat, 5 Sep 2015 19:41:57 +0300 Subject: [PATCH] Don't consume { for closures This way { will be matched as punctuation.section.scope.begin.php --- Syntaxes/PHP.plist | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Syntaxes/PHP.plist b/Syntaxes/PHP.plist index c022af4..f1e822d 100644 --- a/Syntaxes/PHP.plist +++ b/Syntaxes/PHP.plist @@ -1934,7 +1934,7 @@ end - \{ + (?=\{) name meta.function.closure.php patterns