From 0aabf090f50d93d9f08f5bf014900eee34d8c9f6 Mon Sep 17 00:00:00 2001 From: Alexandre Borela Date: Thu, 8 Nov 2018 15:44:02 -0200 Subject: [PATCH] [JS] Add createGlobalStyle support --- syntaxes/fjsx15/literal/string/styled-component.sublime-syntax | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/syntaxes/fjsx15/literal/string/styled-component.sublime-syntax b/syntaxes/fjsx15/literal/string/styled-component.sublime-syntax index 29eb0197..5d3856e5 100644 --- a/syntaxes/fjsx15/literal/string/styled-component.sublime-syntax +++ b/syntaxes/fjsx15/literal/string/styled-component.sublime-syntax @@ -81,7 +81,8 @@ contexts: # API helpers. - match: | (?x) - ((?> css + ((?> createGlobalStyle + | css | injectGlobal )) (?=\s*`)