From 331e4d00e849b69e20d71e1295161e7735107b3a Mon Sep 17 00:00:00 2001 From: Florian Hammerschmidt Date: Wed, 24 May 2023 11:19:50 +0200 Subject: [PATCH] Revert "Sort patterns in tmLanguage.json" This reverts commit fec300c6230bc0d362e6aa963db2f7b7edb329cb. --- grammars/rescript.tmLanguage.json | 42 +++++++++++++++---------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/grammars/rescript.tmLanguage.json b/grammars/rescript.tmLanguage.json index 4acab2243..053a26a30 100644 --- a/grammars/rescript.tmLanguage.json +++ b/grammars/rescript.tmLanguage.json @@ -511,49 +511,46 @@ }, "patterns": [ { - "include": "#attribute" - }, - { - "include": "#bracketAccess" + "include": "#storage" }, { - "include": "#character" + "include": "#ffi" }, { - "include": "#commentBlock" + "include": "#constant" }, { "include": "#commentLine" }, { - "include": "#constant" + "include": "#commentBlock" }, { - "include": "#constructor" + "include": "#character" }, { - "include": "#defaultIdIsVariable" + "include": "#typeParameter" }, { - "include": "#ffi" + "include": "#string" }, { - "include": "#function" + "include": "#attribute" }, { - "include": "#jsx" + "include": "#function" }, { - "include": "#keyword" + "include": "#list" }, { - "include": "#list" + "include": "#bracketAccess" }, { - "include": "#moduleAccess" + "include": "#jsx" }, { - "include": "#moduleDeclaration" + "include": "#operator" }, { "include": "#number" @@ -562,19 +559,22 @@ "include": "#openOrIncludeModule" }, { - "include": "#operator" + "include": "#moduleDeclaration" }, { - "include": "#punctuations" + "include": "#moduleAccess" }, { - "include": "#storage" + "include": "#constructor" }, { - "include": "#string" + "include": "#keyword" }, { - "include": "#typeParameter" + "include": "#punctuations" + }, + { + "include": "#defaultIdIsVariable" } ] } \ No newline at end of file