From cb2a329372b884c80fb79f7b6ece7d3fdd5a03dc Mon Sep 17 00:00:00 2001 From: Alexandre Borela Date: Tue, 1 May 2018 17:39:42 -0300 Subject: [PATCH] [FLOW] Fix function greediness --- syntaxes/flow1/function.sublime-syntax | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/syntaxes/flow1/function.sublime-syntax b/syntaxes/flow1/function.sublime-syntax index d0661184..1af43da0 100644 --- a/syntaxes/flow1/function.sublime-syntax +++ b/syntaxes/flow1/function.sublime-syntax @@ -83,9 +83,10 @@ contexts: - match: | (?xi) (?= - {{complexType}} + {{commonIdentifier}} + {{genericArguments}} \s*=> - (?!\s*{) + (?!\s*\{) ) set: [ return,