Skip to content

Commit b776f70

Browse files
Revert "Sort patterns in tmLanguage.json" (#775)
This reverts commit fec300c.
1 parent 3d1591d commit b776f70

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed

grammars/rescript.tmLanguage.json

+21-21
Original file line numberDiff line numberDiff line change
@@ -511,49 +511,46 @@
511511
},
512512
"patterns": [
513513
{
514-
"include": "#attribute"
515-
},
516-
{
517-
"include": "#bracketAccess"
514+
"include": "#storage"
518515
},
519516
{
520-
"include": "#character"
517+
"include": "#ffi"
521518
},
522519
{
523-
"include": "#commentBlock"
520+
"include": "#constant"
524521
},
525522
{
526523
"include": "#commentLine"
527524
},
528525
{
529-
"include": "#constant"
526+
"include": "#commentBlock"
530527
},
531528
{
532-
"include": "#constructor"
529+
"include": "#character"
533530
},
534531
{
535-
"include": "#defaultIdIsVariable"
532+
"include": "#typeParameter"
536533
},
537534
{
538-
"include": "#ffi"
535+
"include": "#string"
539536
},
540537
{
541-
"include": "#function"
538+
"include": "#attribute"
542539
},
543540
{
544-
"include": "#jsx"
541+
"include": "#function"
545542
},
546543
{
547-
"include": "#keyword"
544+
"include": "#list"
548545
},
549546
{
550-
"include": "#list"
547+
"include": "#bracketAccess"
551548
},
552549
{
553-
"include": "#moduleAccess"
550+
"include": "#jsx"
554551
},
555552
{
556-
"include": "#moduleDeclaration"
553+
"include": "#operator"
557554
},
558555
{
559556
"include": "#number"
@@ -562,19 +559,22 @@
562559
"include": "#openOrIncludeModule"
563560
},
564561
{
565-
"include": "#operator"
562+
"include": "#moduleDeclaration"
566563
},
567564
{
568-
"include": "#punctuations"
565+
"include": "#moduleAccess"
569566
},
570567
{
571-
"include": "#storage"
568+
"include": "#constructor"
572569
},
573570
{
574-
"include": "#string"
571+
"include": "#keyword"
575572
},
576573
{
577-
"include": "#typeParameter"
574+
"include": "#punctuations"
575+
},
576+
{
577+
"include": "#defaultIdIsVariable"
578578
}
579579
]
580580
}

0 commit comments

Comments
 (0)