github-linguist 5.0.5 → 5.0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (50) hide show
  1. checksums.yaml +4 -4
  2. data/grammars/hint.haskell.json +11 -5
  3. data/grammars/hint.message.haskell.json +11 -5
  4. data/grammars/hint.type.haskell.json +11 -5
  5. data/grammars/source.SASLog.json +1 -1
  6. data/grammars/source.clarion.json +1 -1
  7. data/grammars/source.clean.json +4 -4
  8. data/grammars/source.click.json +19 -8
  9. data/grammars/source.clojure.json +8 -6
  10. data/grammars/source.cobol.json +16 -23
  11. data/grammars/source.coffee.json +1 -1
  12. data/grammars/source.csound-document.json +0 -5
  13. data/grammars/source.csound-score.json +6 -2
  14. data/grammars/source.csound.json +77 -14
  15. data/grammars/source.css.less.json +1 -1
  16. data/grammars/source.ditroff.desc.json +379 -0
  17. data/grammars/source.ditroff.json +545 -0
  18. data/grammars/source.elixir.json +44 -2
  19. data/grammars/source.fsharp.json +20 -93
  20. data/grammars/source.haskell.json +13 -6
  21. data/grammars/source.hlsl.json +217 -0
  22. data/grammars/source.js.json +34 -16
  23. data/grammars/source.julia.json +4 -4
  24. data/grammars/source.meson.json +167 -0
  25. data/grammars/source.p4.json +117 -0
  26. data/grammars/source.perl6fe.json +101 -18
  27. data/grammars/source.python.json +7 -7
  28. data/grammars/source.quoting.perl6fe.json +101 -0
  29. data/grammars/source.regexp.extended.json +9 -5
  30. data/grammars/source.regexp.json +12 -21
  31. data/grammars/source.rust.json +33 -3
  32. data/grammars/source.sas.json +2 -2
  33. data/grammars/source.shaderlab.json +174 -0
  34. data/grammars/source.terraform.json +196 -0
  35. data/grammars/source.turing.json +1 -1
  36. data/grammars/source.viml.json +1 -1
  37. data/grammars/source.yaml.json +3 -1
  38. data/grammars/text.html.php.blade.json +10 -7
  39. data/grammars/text.restructuredtext.json +57 -6
  40. data/grammars/text.roff.json +1 -1
  41. data/grammars/text.slim.json +1 -1
  42. data/grammars/text.tex.latex.haskell.json +11 -5
  43. data/lib/linguist/documentation.yml +1 -1
  44. data/lib/linguist/heuristics.rb +8 -0
  45. data/lib/linguist/languages.json +1 -1
  46. data/lib/linguist/languages.yml +20 -2
  47. data/lib/linguist/samples.json +1253 -68
  48. data/lib/linguist/version.rb +1 -1
  49. metadata +9 -3
  50. data/grammars/source.regexp.comment.json +0 -11
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: de02ae7b02cb77478f2b9488bf2668d60fabd365
4
- data.tar.gz: a932bf3328656fe4369a32baef90c8152af81e7a
3
+ metadata.gz: fd9bab0fac26850563eb9b3856366a00cc992d95
4
+ data.tar.gz: 4de5d12549d94e46d35cdf2aeede934455f9577a
5
5
  SHA512:
6
- metadata.gz: 992908dd7d5bfa9e5558e454987e715ef69eae7715ee6ec272c4fd8a168b4b68b0fbb089278cbe1c31a33848e0297cf91035afb937bec4c87ff6044249e48dbe
7
- data.tar.gz: 23d36905619c7db21f681d4644fb0d88a588ca3349d90793bfb90c0e22b73ce3f0727344e834dc7e3845b83f61f251e17815b0fa9631035df7d190e88456a116
6
+ metadata.gz: 19177e2bd1db6aac785e776df29556162d519802ebc7e85cccaf4eae614a2565852d19cd9393467b91641990153c24c5ca446b11cb70f57d32fd3d18a3612749
7
+ data.tar.gz: c013a067b89d90ae663a8350d8d9c6fcff329426bfdab8df2a834caa8af3178f65ac3f48c92e3e339e6a4ecb378201585e06411cc5544ef9cb1dca57700bb11b
@@ -625,6 +625,9 @@
625
625
  },
626
626
  {
627
627
  "include": "#haskell_expr"
628
+ },
629
+ {
630
+ "include": "#comments"
628
631
  }
629
632
  ]
630
633
  }
@@ -655,6 +658,9 @@
655
658
  "name": "keyword.other.haskell"
656
659
  }
657
660
  }
661
+ },
662
+ {
663
+ "include": "#comments"
658
664
  }
659
665
  ]
660
666
  }
@@ -804,7 +810,7 @@
804
810
  },
805
811
  {
806
812
  "name": "keyword.control.haskell",
807
- "match": "(?:(?=[\\p{Ll}_\\p{Lu}\\p{Lt}])(?<![\\p{Ll}_\\p{Lu}\\p{Lt}']))(do|if|then|else|case|of|let|in|default)(?:(?<=[\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}'])(?![\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}']))"
813
+ "match": "(?:(?=[\\p{Ll}_\\p{Lu}\\p{Lt}])(?<![\\p{Ll}_\\p{Lu}\\p{Lt}']))(do|if|then|else|case|of|let|in|default|mdo|rec|proc)(?:(?<=[\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}'])(?![\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}']))"
808
814
  }
809
815
  ]
810
816
  },
@@ -1013,7 +1019,7 @@
1013
1019
  "include": "#module_name_prefix"
1014
1020
  },
1015
1021
  {
1016
- "name": "support.function.prelude.haskell",
1022
+ "name": "support.function.prelude.$1.haskell",
1017
1023
  "match": "(?:(?=[\\p{Ll}_\\p{Lu}\\p{Lt}])(?<![\\p{Ll}_\\p{Lu}\\p{Lt}']))(abs|acos|acosh|all|and|any|appendFile|asTypeOf|asin|asinh|atan|atan2|atanh|break|ceiling|compare|concat|concatMap|const|cos|cosh|curry|cycle|decodeFloat|div|divMod|drop|dropWhile|either|elem|encodeFloat|enumFrom|enumFromThen|enumFromThenTo|enumFromTo|error|even|exp|exponent|fail|filter|flip|floatDigits|floatRadix|floatRange|floor|fmap|foldMap|foldl|foldl1|foldr|foldr1|fromEnum|fromInteger|fromIntegral|fromRational|fst|gcd|getChar|getContents|getLine|head|id|init|interact|ioError|isDenormalized|isIEEE|isInfinite|isNaN|isNegativeZero|iterate|last|lcm|length|lex|lines|log|logBase|lookup|map|mapM|mapM_|mappend|max|maxBound|maximum|maybe|mconcat|mempty|min|minBound|minimum|mod|negate|not|notElem|null|odd|or|otherwise|pi|pred|print|product|properFraction|pure|putChar|putStr|putStrLn|quot|quotRem|read|readFile|readIO|readList|readLn|readParen|reads|readsPrec|realToFrac|recip|rem|repeat|replicate|return|reverse|round|scaleFloat|scanl|scanl1|scanr|scanr1|seq|sequence|sequenceA|sequence_|show|showChar|showList|showParen|showString|shows|showsPrec|significand|signum|sin|sinh|snd|span|splitAt|sqrt|subtract|succ|sum|tail|take|takeWhile|tan|tanh|toEnum|toInteger|toRational|traverse|truncate|uncurry|undefined|unlines|until|unwords|unzip|unzip3|userError|words|writeFile|zip|zip3|zipWith|zipWith3)(?:(?<=[\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}'])(?![\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}']))"
1018
1024
  }
1019
1025
  ]
@@ -1034,11 +1040,11 @@
1034
1040
  "include": "#module_name_prefix"
1035
1041
  },
1036
1042
  {
1037
- "name": "entity.other.inherited-class.prelude.haskell",
1043
+ "name": "entity.other.inherited-class.prelude.$1.haskell",
1038
1044
  "match": "(?:(?=[\\p{Ll}_\\p{Lu}\\p{Lt}])(?<![\\p{Ll}_\\p{Lu}\\p{Lt}']))(Applicative|Bounded|Enum|Eq|Floating|Foldable|Fractional|Functor|Integral|Monad|Monoid|Num|Ord|Read|Real|RealFloat|RealFrac|Show|Traversable)(?:(?<=[\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}'])(?![\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}']))"
1039
1045
  },
1040
1046
  {
1041
- "name": "support.class.prelude.haskell",
1047
+ "name": "support.class.prelude.$1.haskell",
1042
1048
  "match": "(?:(?=[\\p{Ll}_\\p{Lu}\\p{Lt}])(?<![\\p{Ll}_\\p{Lu}\\p{Lt}']))(Either|FilePath|IO|IOError|Integer|Maybe|Ordering|Rational|ReadS|ShowS|String|Bool|Char|Double|Float|Int|Word)(?:(?<=[\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}'])(?![\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}']))"
1043
1049
  }
1044
1050
  ]
@@ -1059,7 +1065,7 @@
1059
1065
  "include": "#module_name_prefix"
1060
1066
  },
1061
1067
  {
1062
- "name": "support.tag.prelude.haskell",
1068
+ "name": "support.tag.prelude.$1.haskell",
1063
1069
  "match": "(?:(?=[\\p{Ll}_\\p{Lu}\\p{Lt}])(?<![\\p{Ll}_\\p{Lu}\\p{Lt}']))(EQ|GT|Just|LT|Left|Nothing|Right|True|False)(?:(?<=[\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}'])(?![\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}']))"
1064
1070
  }
1065
1071
  ]
@@ -649,6 +649,9 @@
649
649
  },
650
650
  {
651
651
  "include": "#haskell_expr"
652
+ },
653
+ {
654
+ "include": "#comments"
652
655
  }
653
656
  ]
654
657
  }
@@ -679,6 +682,9 @@
679
682
  "name": "keyword.other.haskell"
680
683
  }
681
684
  }
685
+ },
686
+ {
687
+ "include": "#comments"
682
688
  }
683
689
  ]
684
690
  }
@@ -828,7 +834,7 @@
828
834
  },
829
835
  {
830
836
  "name": "keyword.control.haskell",
831
- "match": "(?:(?=[\\p{Ll}_\\p{Lu}\\p{Lt}])(?<![\\p{Ll}_\\p{Lu}\\p{Lt}']))(do|if|then|else|case|of|let|in|default)(?:(?<=[\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}'])(?![\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}']))"
837
+ "match": "(?:(?=[\\p{Ll}_\\p{Lu}\\p{Lt}])(?<![\\p{Ll}_\\p{Lu}\\p{Lt}']))(do|if|then|else|case|of|let|in|default|mdo|rec|proc)(?:(?<=[\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}'])(?![\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}']))"
832
838
  }
833
839
  ]
834
840
  },
@@ -1037,7 +1043,7 @@
1037
1043
  "include": "#module_name_prefix"
1038
1044
  },
1039
1045
  {
1040
- "name": "support.function.prelude.haskell",
1046
+ "name": "support.function.prelude.$1.haskell",
1041
1047
  "match": "(?:(?=[\\p{Ll}_\\p{Lu}\\p{Lt}])(?<![\\p{Ll}_\\p{Lu}\\p{Lt}']))(abs|acos|acosh|all|and|any|appendFile|asTypeOf|asin|asinh|atan|atan2|atanh|break|ceiling|compare|concat|concatMap|const|cos|cosh|curry|cycle|decodeFloat|div|divMod|drop|dropWhile|either|elem|encodeFloat|enumFrom|enumFromThen|enumFromThenTo|enumFromTo|error|even|exp|exponent|fail|filter|flip|floatDigits|floatRadix|floatRange|floor|fmap|foldMap|foldl|foldl1|foldr|foldr1|fromEnum|fromInteger|fromIntegral|fromRational|fst|gcd|getChar|getContents|getLine|head|id|init|interact|ioError|isDenormalized|isIEEE|isInfinite|isNaN|isNegativeZero|iterate|last|lcm|length|lex|lines|log|logBase|lookup|map|mapM|mapM_|mappend|max|maxBound|maximum|maybe|mconcat|mempty|min|minBound|minimum|mod|negate|not|notElem|null|odd|or|otherwise|pi|pred|print|product|properFraction|pure|putChar|putStr|putStrLn|quot|quotRem|read|readFile|readIO|readList|readLn|readParen|reads|readsPrec|realToFrac|recip|rem|repeat|replicate|return|reverse|round|scaleFloat|scanl|scanl1|scanr|scanr1|seq|sequence|sequenceA|sequence_|show|showChar|showList|showParen|showString|shows|showsPrec|significand|signum|sin|sinh|snd|span|splitAt|sqrt|subtract|succ|sum|tail|take|takeWhile|tan|tanh|toEnum|toInteger|toRational|traverse|truncate|uncurry|undefined|unlines|until|unwords|unzip|unzip3|userError|words|writeFile|zip|zip3|zipWith|zipWith3)(?:(?<=[\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}'])(?![\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}']))"
1042
1048
  }
1043
1049
  ]
@@ -1058,11 +1064,11 @@
1058
1064
  "include": "#module_name_prefix"
1059
1065
  },
1060
1066
  {
1061
- "name": "entity.other.inherited-class.prelude.haskell",
1067
+ "name": "entity.other.inherited-class.prelude.$1.haskell",
1062
1068
  "match": "(?:(?=[\\p{Ll}_\\p{Lu}\\p{Lt}])(?<![\\p{Ll}_\\p{Lu}\\p{Lt}']))(Applicative|Bounded|Enum|Eq|Floating|Foldable|Fractional|Functor|Integral|Monad|Monoid|Num|Ord|Read|Real|RealFloat|RealFrac|Show|Traversable)(?:(?<=[\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}'])(?![\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}']))"
1063
1069
  },
1064
1070
  {
1065
- "name": "support.class.prelude.haskell",
1071
+ "name": "support.class.prelude.$1.haskell",
1066
1072
  "match": "(?:(?=[\\p{Ll}_\\p{Lu}\\p{Lt}])(?<![\\p{Ll}_\\p{Lu}\\p{Lt}']))(Either|FilePath|IO|IOError|Integer|Maybe|Ordering|Rational|ReadS|ShowS|String|Bool|Char|Double|Float|Int|Word)(?:(?<=[\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}'])(?![\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}']))"
1067
1073
  }
1068
1074
  ]
@@ -1083,7 +1089,7 @@
1083
1089
  "include": "#module_name_prefix"
1084
1090
  },
1085
1091
  {
1086
- "name": "support.tag.prelude.haskell",
1092
+ "name": "support.tag.prelude.$1.haskell",
1087
1093
  "match": "(?:(?=[\\p{Ll}_\\p{Lu}\\p{Lt}])(?<![\\p{Ll}_\\p{Lu}\\p{Lt}']))(EQ|GT|Just|LT|Left|Nothing|Right|True|False)(?:(?<=[\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}'])(?![\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}']))"
1088
1094
  }
1089
1095
  ]
@@ -622,6 +622,9 @@
622
622
  },
623
623
  {
624
624
  "include": "#haskell_expr"
625
+ },
626
+ {
627
+ "include": "#comments"
625
628
  }
626
629
  ]
627
630
  }
@@ -652,6 +655,9 @@
652
655
  "name": "keyword.other.haskell"
653
656
  }
654
657
  }
658
+ },
659
+ {
660
+ "include": "#comments"
655
661
  }
656
662
  ]
657
663
  }
@@ -801,7 +807,7 @@
801
807
  },
802
808
  {
803
809
  "name": "keyword.control.haskell",
804
- "match": "(?:(?=[\\p{Ll}_\\p{Lu}\\p{Lt}])(?<![\\p{Ll}_\\p{Lu}\\p{Lt}']))(do|if|then|else|case|of|let|in|default)(?:(?<=[\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}'])(?![\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}']))"
810
+ "match": "(?:(?=[\\p{Ll}_\\p{Lu}\\p{Lt}])(?<![\\p{Ll}_\\p{Lu}\\p{Lt}']))(do|if|then|else|case|of|let|in|default|mdo|rec|proc)(?:(?<=[\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}'])(?![\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}']))"
805
811
  }
806
812
  ]
807
813
  },
@@ -1010,7 +1016,7 @@
1010
1016
  "include": "#module_name_prefix"
1011
1017
  },
1012
1018
  {
1013
- "name": "support.function.prelude.haskell",
1019
+ "name": "support.function.prelude.$1.haskell",
1014
1020
  "match": "(?:(?=[\\p{Ll}_\\p{Lu}\\p{Lt}])(?<![\\p{Ll}_\\p{Lu}\\p{Lt}']))(abs|acos|acosh|all|and|any|appendFile|asTypeOf|asin|asinh|atan|atan2|atanh|break|ceiling|compare|concat|concatMap|const|cos|cosh|curry|cycle|decodeFloat|div|divMod|drop|dropWhile|either|elem|encodeFloat|enumFrom|enumFromThen|enumFromThenTo|enumFromTo|error|even|exp|exponent|fail|filter|flip|floatDigits|floatRadix|floatRange|floor|fmap|foldMap|foldl|foldl1|foldr|foldr1|fromEnum|fromInteger|fromIntegral|fromRational|fst|gcd|getChar|getContents|getLine|head|id|init|interact|ioError|isDenormalized|isIEEE|isInfinite|isNaN|isNegativeZero|iterate|last|lcm|length|lex|lines|log|logBase|lookup|map|mapM|mapM_|mappend|max|maxBound|maximum|maybe|mconcat|mempty|min|minBound|minimum|mod|negate|not|notElem|null|odd|or|otherwise|pi|pred|print|product|properFraction|pure|putChar|putStr|putStrLn|quot|quotRem|read|readFile|readIO|readList|readLn|readParen|reads|readsPrec|realToFrac|recip|rem|repeat|replicate|return|reverse|round|scaleFloat|scanl|scanl1|scanr|scanr1|seq|sequence|sequenceA|sequence_|show|showChar|showList|showParen|showString|shows|showsPrec|significand|signum|sin|sinh|snd|span|splitAt|sqrt|subtract|succ|sum|tail|take|takeWhile|tan|tanh|toEnum|toInteger|toRational|traverse|truncate|uncurry|undefined|unlines|until|unwords|unzip|unzip3|userError|words|writeFile|zip|zip3|zipWith|zipWith3)(?:(?<=[\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}'])(?![\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}']))"
1015
1021
  }
1016
1022
  ]
@@ -1031,11 +1037,11 @@
1031
1037
  "include": "#module_name_prefix"
1032
1038
  },
1033
1039
  {
1034
- "name": "entity.other.inherited-class.prelude.haskell",
1040
+ "name": "entity.other.inherited-class.prelude.$1.haskell",
1035
1041
  "match": "(?:(?=[\\p{Ll}_\\p{Lu}\\p{Lt}])(?<![\\p{Ll}_\\p{Lu}\\p{Lt}']))(Applicative|Bounded|Enum|Eq|Floating|Foldable|Fractional|Functor|Integral|Monad|Monoid|Num|Ord|Read|Real|RealFloat|RealFrac|Show|Traversable)(?:(?<=[\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}'])(?![\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}']))"
1036
1042
  },
1037
1043
  {
1038
- "name": "support.class.prelude.haskell",
1044
+ "name": "support.class.prelude.$1.haskell",
1039
1045
  "match": "(?:(?=[\\p{Ll}_\\p{Lu}\\p{Lt}])(?<![\\p{Ll}_\\p{Lu}\\p{Lt}']))(Either|FilePath|IO|IOError|Integer|Maybe|Ordering|Rational|ReadS|ShowS|String|Bool|Char|Double|Float|Int|Word)(?:(?<=[\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}'])(?![\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}']))"
1040
1046
  }
1041
1047
  ]
@@ -1056,7 +1062,7 @@
1056
1062
  "include": "#module_name_prefix"
1057
1063
  },
1058
1064
  {
1059
- "name": "support.tag.prelude.haskell",
1065
+ "name": "support.tag.prelude.$1.haskell",
1060
1066
  "match": "(?:(?=[\\p{Ll}_\\p{Lu}\\p{Lt}])(?<![\\p{Ll}_\\p{Lu}\\p{Lt}']))(EQ|GT|Just|LT|Left|Nothing|Right|True|False)(?:(?<=[\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}'])(?![\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}']))"
1061
1067
  }
1062
1068
  ]
@@ -11,7 +11,7 @@
11
11
  },
12
12
  {
13
13
  "comment": "Error line",
14
- "match": "(^(ERROR|WARNING)|Uninitialized| remerg|invalid).*",
14
+ "match": "(^(ERROR|WARNING)|Uninitialized| remerg|invalid\\b).*",
15
15
  "name": "invalid.source.SASLog"
16
16
  },
17
17
  {
@@ -129,7 +129,7 @@
129
129
  "name": "support.constant.clarion"
130
130
  },
131
131
  "numericConstants": {
132
- "match": "\\b(([0-9][0-9a-fA-F]*(h|H))|([0-1]*(b|B))|([0-7]*(o|O))|(([0-9]+\\.?[0-9]*)|(\\.[0-9]+))((e|E)(\\+|-)?[0-9]+)?)?\\b",
132
+ "match": "\\b(([0-9][0-9a-fA-F]*(h|H))|([0-1]*(b|B))|([0-7]*(o|O))|(([0-9]+\\.?[0-9]*)|(\\.[0-9]+))((e|E)(\\+|-)?[0-9]+)?)\\b",
133
133
  "name": "constant.numeric.clarion"
134
134
  },
135
135
  "operators": {
@@ -5,7 +5,7 @@
5
5
  "icl",
6
6
  "dcl"
7
7
  ],
8
- "firstLineMatch": "^(definition|implementation|system) module",
8
+ "firstLineMatch": "^((definition|implementation|system) )?module",
9
9
  "patterns": [
10
10
  {
11
11
  "include": "#marks"
@@ -187,12 +187,12 @@
187
187
  "end": "\"",
188
188
  "beginCaptures": {
189
189
  "0": {
190
- "name": "punctuation.definition.string.begin.swift"
190
+ "name": "punctuation.definition.string.begin.clean"
191
191
  }
192
192
  },
193
193
  "endCaptures": {
194
194
  "0": {
195
- "name": "punctuation.definition.string.end.swift"
195
+ "name": "punctuation.definition.string.end.clean"
196
196
  }
197
197
  },
198
198
  "patterns": [
@@ -213,7 +213,7 @@
213
213
  },
214
214
  "operatorGeneral": {
215
215
  "name": "keyword.operator.clean",
216
- "match": "[-~@#$%^?!+*<>/|&=:.]+"
216
+ "match": "[-~@#$%^?!+*<>\\\\/|&=:.]+"
217
217
  },
218
218
  "operatorComposition": {
219
219
  "name": "keyword.operator.composition.clean",
@@ -18,11 +18,26 @@
18
18
  "name": "constant.other.eth.click"
19
19
  },
20
20
  {
21
- "match": "\\b[\\+-]?\\d+((\\.|/|x)\\d+)?",
21
+ "match": "\\b([0-9a-fA-F]+)/([0-9a-fA-F]+)\\b",
22
+ "captures": {
23
+ "1": {
24
+ "name": "constant.numeric.click"
25
+ },
26
+ "2": {
27
+ "name": "constant.numeric.click"
28
+ }
29
+ }
30
+ },
31
+ {
32
+ "match": "\\b[\\+-]?\\d+(\\.?\\d+)?\\b",
22
33
  "name": "constant.numeric.click"
23
34
  },
24
35
  {
25
- "match": "\\b(input|output|connectiontunnel)\\b",
36
+ "match": "\\b0x[0-9a-fA-F]+\\b",
37
+ "name": "constant.numeric.click"
38
+ },
39
+ {
40
+ "match": "\\b(define|input|library|output|read|require|write)\\b",
26
41
  "name": "keyword.other.click"
27
42
  },
28
43
  {
@@ -56,8 +71,8 @@
56
71
  "name": "string.quoted.double.click"
57
72
  },
58
73
  {
59
- "match": "(\\$)(\\w+\\b)",
60
- "name": "variable.parameter.function.click"
74
+ "match": "[\\b]*\\$[_]*[a-zA-Z][_a-zA-Z0-9]*\\b",
75
+ "name": "variable.language.click"
61
76
  },
62
77
  {
63
78
  "match": "\\/\\/.*",
@@ -79,10 +94,6 @@
79
94
  }
80
95
  }
81
96
  },
82
- {
83
- "match": "\\b([A-Z]+)\\b",
84
- "name": "variable.language.click"
85
- },
86
97
  {
87
98
  "match": ",\\s*(-)",
88
99
  "captures": {
@@ -71,12 +71,13 @@
71
71
  ],
72
72
  "repository": {
73
73
  "comment": {
74
- "captures": {
75
- "1": {
74
+ "begin": ";",
75
+ "beginCaptures": {
76
+ "0": {
76
77
  "name": "punctuation.definition.comment.clojure"
77
78
  }
78
79
  },
79
- "match": "(;).*$\\n?",
80
+ "end": "$",
80
81
  "name": "comment.line.semicolon.clojure"
81
82
  },
82
83
  "constants": {
@@ -361,13 +362,14 @@
361
362
  ]
362
363
  },
363
364
  "shebang-comment": {
364
- "captures": {
365
+ "begin": "^(#!)",
366
+ "beginCaptures": {
365
367
  "1": {
366
368
  "name": "punctuation.definition.comment.shebang.clojure"
367
369
  }
368
370
  },
369
- "match": "^(\\#!).*$\\n?",
370
- "name": "comment.line.semicolon.clojure"
371
+ "end": "$",
372
+ "name": "comment.line.shebang.clojure"
371
373
  },
372
374
  "string": {
373
375
  "begin": "(?<!\\\\)(\")",
@@ -34,7 +34,7 @@
34
34
  "name": "comment.line.rem.cobol"
35
35
  },
36
36
  {
37
- "match": "(?:^|\\s)((?i)\\$\\s*(?i:if|else|then|display|end|xfd))(?:$|\\s.*$)",
37
+ "match": "(?:^|\\s)((?i)\\$\\s*(?i:if|else|then|display|xfd|end))(?:$|\\s.*$)",
38
38
  "name": "meta.preprocessor"
39
39
  },
40
40
  {
@@ -135,31 +135,20 @@
135
135
  "name": "string.quoted.cobol",
136
136
  "patterns": [
137
137
  {
138
- "match": "(?i:ABEND|ACQUIRE|ADDRESS\\s*SET|ADDRESS|ADD\\s*SUBEVENT|ALLOCATE|ASKTIME|ASSIGN|BIF\\s*DEEDIT|BIF\\s*DIGEST|BMS|BUILD\\s*ATTACH|CANCEL|CHANGE\\s*PASSWORD|CHANGE\\s*TASK|CHECK\\s*ACQPROCESS|CHECK\\s*ACTIVITY|CHECK\\s*TIMER|CONNECT\\s*PROCESS|CONVERSE|CONVERTTIME|DEFINE\\s*ACTIVITY|DEFINE\\s*COMPOSITE\\s*EVENT|DEFINE\\s*COUNTER|DEFINE\\s*INPUT\\s*EVENT|DEFINE\\s*PROCESS|DEFINE\\s*TIMER|DELAY|DELETEQ\\s*TD|DELETEQ\\s*TS|DELETE\\s*ACTIVITY|DELETE\\s*CONTAINER|DELETE\\s*COUNTER|DELETE\\s*EVENT|DELETE\\s*TIMER|DELETE|DEQ|DOCUMENT\\s*CREATE|DOCUMENT\\s*DELETE|DOCUMENT\\s*INSERT|DOCUMENT\\s*RETRIEVE|DOCUMENT\\s*SET|DUMP\\s*TRANSACTION|ENDBROWSE\\s*ACTIVITY|ENDBROWSE\\s*CONTAINER|ENDBROWSE\\s*EVENT|ENDBROWSE\\s*PROCESS|ENDBR|ENQ|ENTER\\s*TRACENUM|EXTRACT\\s*ATTACH|EXTRACT\\s*ATTRIBUTES|EXTRACT\\s*CERTIFICATE|EXTRACT\\s*LOGONMSG|EXTRACT\\s*PROCESS|EXTRACT\\s*TCPIP|EXTRACT\\s*TCT|EXTRACT\\s*WEB|FORCE\\s*TIMER|FORMATTIME|FREEMAIN||FREE|GDS\\s*ALLOCATE|GDS\\s*ASSIGN|GDS\\s*CONNECT\\s*PROCESS|GDS\\s*EXTRACT\\s*ATTRIBUTES|GDS\\s*EXTRACT\\s*PROCESS|GDS\\s*FREE|GDS\\s*ISSUE\\s*ABEND|GDS\\s*ISSUE\\s*CONFIRMATION|GDS\\s*ISSUE\\s*ERROR|GDS\\s*ISSUE\\s*PREPARE|GDS\\s*ISSUE\\s*SIGNAL|GDS\\s*RECEIVE|GDS\\s*SEND|GDS\\s*WAIT|GETMAIN|GETNEXT\\s*ACTIVITY|GETNEXT\\s*CONTAINER|GETNEXT\\s*EVENT|GETNEXT\\s*PROCESS|GET\\s*CONTAINER|GET\\s*COUNTER|GET\\s*DCOUNTER|HANDLE\\s*ABEND|HANDLE\\s*AID|HANDLE\\s*CONDITION|IGNORE\\s*CONDITION|INQUIRE\\s*ACTIVITYID|INQUIRE\\s*CONTAINER|INQUIRE\\s*EVENT|INQUIRE\\s*PROCESS|INQUIRE\\s*TIMER|INVOKE\\s*SERVICE|INVOKE\\s*WEBSERVICE|ISSUE\\s*ABEND|ISSUE\\s*ABORT|ISSUE\\s*ADD|ISSUE\\s*CONFIRMATION|ISSUE\\s*COPY|ISSUE\\s*DISCONNECT|ISSUE\\s*ENDFILE|ISSUE\\s*ENDOUTPUT|ISSUE\\s*END|ISSUE\\s*EODS|ISSUE\\s*ERASEAUP|ISSUE\\s*ERASE|ISSUE\\s*ERROR|ISSUE\\s*LOAD|ISSUE\\s*NOTE|ISSUE\\s*PASS|ISSUE\\s*PREPARE|ISSUE\\s*PRINT|ISSUE\\s*QUERY|ISSUE\\s*RECEIVE|ISSUE\\s*REPLACE|ISSUE\\s*RESET|ISSUE\\s*SEND|ISSUE\\s*SIGNAL)(?=\\s)",
138
+ "match": "(?i:ABEND|ACQUIRE|ADDRESS\\s*SET|ADDRESS|ADD\\s*SUBEVENT|ALLOCATE|ASKTIME|ASSIGN|BIF\\s*DEEDIT|BIF\\s*DIGEST|BMS|BUILD\\s*ATTACH|CANCEL|CHANGE\\s*PASSWORD|CHANGE\\s*TASK|CHECK\\s*ACQPROCESS|CHECK\\s*ACTIVITY|CHECK\\s*TIMER|CONNECT\\s*PROCESS|CONVERSE|CONVERTTIME|DEFINE\\s*ACTIVITY|DEFINE\\s*COMPOSITE\\s*EVENT|DEFINE\\s*COUNTER|DEFINE\\s*INPUT\\s*EVENT|DEFINE\\s*PROCESS|DEFINE\\s*TIMER|DELAY|DELETEQ\\s*TD|DELETEQ\\s*TS|DELETE\\s*ACTIVITY|DELETE\\s*CONTAINER|DELETE\\s*COUNTER|DELETE\\s*EVENT|DELETE\\s*TIMER|DELETE|DEQ|DOCUMENT\\s*CREATE|DOCUMENT\\s*DELETE|DOCUMENT\\s*INSERT|DOCUMENT\\s*RETRIEVE|DOCUMENT\\s*SET|DUMP\\s*TRANSACTION|ENDBROWSE\\s*ACTIVITY|ENDBROWSE\\s*CONTAINER|ENDBROWSE\\s*EVENT|ENDBROWSE\\s*PROCESS|ENDBR|ENQ|ENTER\\s*TRACENUM|EXTRACT\\s*ATTACH|EXTRACT\\s*ATTRIBUTES|EXTRACT\\s*CERTIFICATE|EXTRACT\\s*LOGONMSG|EXTRACT\\s*PROCESS|EXTRACT\\s*TCPIP|EXTRACT\\s*TCT|EXTRACT\\s*WEB|FORCE\\s*TIMER|FORMATTIME|FREEMAIN||FREE|GDS\\s*ALLOCATE|GDS\\s*ASSIGN|GDS\\s*CONNECT\\s*PROCESS|GDS\\s*EXTRACT\\s*ATTRIBUTES|GDS\\s*EXTRACT\\s*PROCESS|GDS\\s*FREE|GDS\\s*ISSUE\\s*ABEND|GDS\\s*ISSUE\\s*CONFIRMATION|GDS\\s*ISSUE\\s*ERROR|GDS\\s*ISSUE\\s*PREPARE|GDS\\s*ISSUE\\s*SIGNAL|GDS\\s*RECEIVE|GDS\\s*SEND|GDS\\s*WAIT|GETMAIN|GETNEXT\\s*ACTIVITY|GETNEXT\\s*CONTAINER|GETNEXT\\s*EVENT|GETNEXT\\s*PROCESS|GET\\s*CONTAINER|GET\\s*COUNTER|GET\\s*DCOUNTER|HANDLE\\s*ABEND|HANDLE\\s*AID|HANDLE\\s*CONDITION|IGNORE\\s*CONDITION|INQUIRE\\s*ACTIVITYID|INQUIRE\\s*CONTAINER|INQUIRE\\s*EVENT|INQUIRE\\s*PROCESS|INQUIRE\\s*TIMER|INVOKE\\s*SERVICE|INVOKE\\s*WEBSERVICE|ISSUE\\s*ABEND|ISSUE\\s*ABORT|ISSUE\\s*ADD|ISSUE\\s*CONFIRMATION|ISSUE\\s*COPY|ISSUE\\s*DISCONNECT|ISSUE\\s*ENDFILE|ISSUE\\s*ENDOUTPUT|ISSUE\\s*END|ISSUE\\s*EODS|ISSUE\\s*ERASEAUP|ISSUE\\s*ERASE|ISSUE\\s*ERROR|ISSUE\\s*LOAD|ISSUE\\s*NOTE|ISSUE\\s*PASS|ISSUE\\s*PREPARE|ISSUE\\s*PRINT|ISSUE\\s*QUERY|ISSUE\\s*RECEIVE|ISSUE\\s*REPLACE|ISSUE\\s*RESET|ISSUE\\s*SEND|ISSUE\\s*SIGNAL)",
139
139
  "name": "keyword.identifiers.cobol"
140
140
  },
141
141
  {
142
- "match": "(?i:ISSUE\\s*WAIT|LINK\\s*ACQPROCESS|LINK\\s*ACTIVITY|LINK|LOAD|MONITOR|MOVE\\s*CONTAINER|POINT|POP\\s*HANDLE|POST|PURGE\\s*MESSAGE|PUSH\\s*HANDLE|PUT\\s*CONTAINER|QUERY\\s*COUNTER|QUERY\\s*DCOUNTER|QUERY\\s*SECURITY|READNEXT|READPREV|READQ\\s*TD|READQ\\s*TS|READ|RECEIVE\\s*MAP\\s*MAPPINGDEV|RECEIVE\\s*MAP|RECEIVE\\s*PARTN|RECEIVE|RELEASE|REMOVE\\s*SUBEVENT|RESETBR|RESET\\s*ACQPROCESS|RESET\\s*ACTIVITY|RESUME|RETRIEVE\\s*REATTACH\\s*EVENT|RETRIEVE\\s*SUBEVENT|RETRIEVE|RETURN|REWIND\\s*COUNTER|REWIND\\s*DCOUNTER|REWRITE|ROUTE|RUN|SEND\\s*CONTROL|SEND\\s*MAP\\s*MAPPINGDEV|SEND\\s*MAP|SEND\\s*PAGE|SEND\\s*PARTNSET|SEND\\s*TEXTNOEDIT|SEND\\s*TEXT\\s*MAPPED|SEND\\s*TEXT|SEND|SIGNAL\\s*EVENT|SIGNOFF|SIGNON|SOAPFAULT\\s*ADD|SOAPFAULT\\s*CREATE|SOAPFAULT\\s*DELETE|SPOOLCLOSE|SPOOLOPEN\\s*INPUT|SPOOLOPEN\\s*OUTPUT|SPOOLREAD|SPOOLWRITE|STARTBROWSE\\s*ACTIVITY|STARTBROWSE\\s*CONTAINER|STARTBROWSE\\s*EVENT|STARTBROWSE\\s*PROCESS|STARTBR|START\\s*ATTACH|START\\s*BREXIT|START\\s*TRANSID|START|SUSPEND|SYNCPOINT\\s*ROLLBACK|SYNCPOINT|TEST\\s*EVENT|TRANSFORM\\s*DATATOXML|TRANSFORM\\s*XMLTODATA|UNLOCK|UPDATE\\s*COUNTER|UPDATE\\s*DCOUNTER|WAITCICS|WAIT\\s*CONVID|WAIT\\s*EVENT|WAIT\\s*EXTERNAL|WAIT\\s*JOURNALNAME|WAIT\\s*JOURNALNUM|WAIT\\s*SIGNAL|WAIT\\s*TERMINAL|WEB\\s*CLOSE|WEB\\s*CONVERSE|WEB\\s*ENDBROWSE\\s*FORMFIELD|WEB\\s*ENDBROWSE\\s*HTTPHEADER|WEB\\s*EXTRACT|WEB\\s*OPEN|WEB\\s*PARSE\\s*URL|WEB\\s*READNEXT\\s*FORMFIELD|WEB\\s*READNEXT\\s*HTTPHEADER|WEB\\s*READ\\s*FORMFIELD|WEB\\s*READ\\s*HTTPHEADER|WEB\\s*RECEIVE|WEB\\s*RETRIEVE|WEB\\s*SEND|WEB\\s*STARTBROWSE\\s*FORMFIELD|WEB\\s*STARTBROWSE\\s*HTTPHEADER|WEB\\s*WRITE\\s*HTTPHEADER|WRITEQ\\s*TD|WRITEQ\\s*TS|WRITE\\s*JOURNALNAME|WRITE\\s*JOURNALNUM|WRITE\\s*OPERATOR|WRITE|WSACONTEXT\\s*BUILD|WSACONTEXT\\s*DELETE|WSACONTEXT\\s*GET|WSAEPR\\s*CREATE1G|XCTL)(?=\\s)",
142
+ "match": "(?i:FROM|ERASE|LENGTH|RESP|ISSUE\\s*WAIT|LINK\\s*ACQPROCESS|LINK\\s*ACTIVITY|LINK|LOAD|MONITOR|MOVE\\s*CONTAINER|POINT|POP\\s*HANDLE|POST|PURGE\\s*MESSAGE|PUSH\\s*HANDLE|PUT\\s*CONTAINER|QUERY\\s*COUNTER|QUERY\\s*DCOUNTER|QUERY\\s*SECURITY|READNEXT|READPREV|READQ\\s*TD|READQ\\s*TS|READ|RECEIVE\\s*MAP\\s*MAPPINGDEV|RECEIVE\\s*MAP|RECEIVE\\s*PARTN|RECEIVE|RELEASE|REMOVE\\s*SUBEVENT|RESETBR|RESET\\s*ACQPROCESS|RESET\\s*ACTIVITY|RESUME|RETRIEVE\\s*REATTACH\\s*EVENT|RETRIEVE\\s*SUBEVENT|RETRIEVE|RETURN|REWIND\\s*COUNTER|REWIND\\s*DCOUNTER|REWRITE|ROUTE|RUN|SEND\\s*CONTROL|SEND\\s*MAP\\s*MAPPINGDEV|SEND\\s*MAP|SEND\\s*PAGE|SEND\\s*PARTNSET|SEND\\s*TEXTNOEDIT|SEND\\s*TEXT\\s*MAPPED|SEND\\s*TEXT|SEND|SIGNAL\\s*EVENT|SIGNOFF|SIGNON|SOAPFAULT\\s*ADD|SOAPFAULT\\s*CREATE|SOAPFAULT\\s*DELETE|SPOOLCLOSE|SPOOLOPEN\\s*INPUT|SPOOLOPEN\\s*OUTPUT|SPOOLREAD|SPOOLWRITE|STARTBROWSE\\s*ACTIVITY|STARTBROWSE\\s*CONTAINER|STARTBROWSE\\s*EVENT|STARTBROWSE\\s*PROCESS|STARTBR|START\\s*ATTACH|START\\s*BREXIT|START\\s*TRANSID|START|SUSPEND|SYNCPOINT\\s*ROLLBACK|SYNCPOINT|TEST\\s*EVENT|TRANSFORM\\s*DATATOXML|TRANSFORM\\s*XMLTODATA|UNLOCK|UPDATE\\s*COUNTER|UPDATE\\s*DCOUNTER|WAITCICS|WAIT\\s*CONVID|WAIT\\s*EVENT|WAIT\\s*EXTERNAL|WAIT\\s*JOURNALNAME|WAIT\\s*JOURNALNUM|WAIT\\s*SIGNAL|WAIT\\s*TERMINAL|WEB\\s*CLOSE|WEB\\s*CONVERSE|WEB\\s*ENDBROWSE\\s*FORMFIELD|WEB\\s*ENDBROWSE\\s*HTTPHEADER|WEB\\s*EXTRACT|WEB\\s*OPEN|WEB\\s*PARSE\\s*URL|WEB\\s*READNEXT\\s*FORMFIELD|WEB\\s*READNEXT\\s*HTTPHEADER|WEB\\s*READ\\s*FORMFIELD|WEB\\s*READ\\s*HTTPHEADER|WEB\\s*RECEIVE|WEB\\s*RETRIEVE|WEB\\s*SEND|WEB\\s*STARTBROWSE\\s*FORMFIELD|WEB\\s*STARTBROWSE\\s*HTTPHEADER|WEB\\s*WRITE\\s*HTTPHEADER|WRITEQ\\s*TD|WRITEQ\\s*TS|WRITE\\s*JOURNALNAME|WRITE\\s*JOURNALNUM|WRITE\\s*OPERATOR|WRITE|WSACONTEXT\\s*BUILD|WSACONTEXT\\s*DELETE|WSACONTEXT\\s*GET|WSAEPR\\s*CREATE|XCTL)",
143
143
  "name": "keyword.identifiers.cobol"
144
144
  },
145
145
  {
146
- "match": "([0-9]*)(?=\\s)",
146
+ "match": "([0-9]*)",
147
147
  "name": "constant.numeric.cobol"
148
148
  },
149
149
  {
150
- "begin": "'",
151
- "beginCaptures": {
152
- "0": {
153
- "name": "punctuation.definition.string.begin.cobol"
154
- }
155
- },
156
- "end": "('|$)",
157
- "endCaptures": {
158
- "0": {
159
- "name": "punctuation.definition.string.end.cobol"
160
- }
161
- },
162
- "name": "string.quoted.double.cobol"
150
+ "match": "\\(.*\\)",
151
+ "name": "variable.cobol"
163
152
  }
164
153
  ]
165
154
  },
@@ -183,7 +172,7 @@
183
172
  "name": "string.quoted.cobol",
184
173
  "patterns": [
185
174
  {
186
- "include": "texthtml.basic"
175
+ "include": "text.html.basic"
187
176
  },
188
177
  {
189
178
  "include": "text.html.basic"
@@ -285,7 +274,7 @@
285
274
  "name": "keyword.identifiers.cobol"
286
275
  },
287
276
  {
288
- "match": "(\\s|^)(?i)(?i:end\\s*class|end\\s*property|end\\s*method|exit\\s*method|end\\s*program|end\\s*operator|create|reset|instance|delegate|end-delegate|delegate-id|declare|debug-line|debug-name|debug-contents|sort-return|exception-object|return-code|as||stop\\srun|stop)(?=\\s|\\.|,|$)",
277
+ "match": "(\\s|^)(?i)(?i:end\\s*class|end\\s*property|end\\s*method|end\\s*object|exit\\s*method|end\\s*program|end\\s*operator|create|reset|instance|delegate|end-delegate|delegate-id|declare|debug-line|debug-name|debug-contents|sort-return|exception-object|return-code|as||stop\\srun|stop)(?=\\s|\\.|,|$)",
289
278
  "name": "keyword.identifiers.cobol"
290
279
  },
291
280
  {
@@ -414,7 +403,7 @@
414
403
  "match": "\\b(?<!-)(?i:type\\s+)([0-9a-zA-Z\\.]*)"
415
404
  },
416
405
  {
417
- "match": "\\b(?<!-)(?i:accept|add|address|allocate|call|cancel|chain|close|commit|compute|continue|delete|disable|display|bell|divide|end|enable|enter|if|evaluate|exhibit|named|exit|free|generate|go\\s*to|go|goback|initialize\\sonly|initialize|initiate|inspect|merge|end-set|set|end-invoke|invoke\\s*run|invoke|move|corresponding|corr|multiply|otherwise|open|sharing|sort-merge|perform|purge|raise|ready|read|receive|release|return|rewrite|rounded|rollback|search|send|sort|start|service|subtract|suppress|terminate|then|unlock|string|unstring|validate|write|next|statement|sentence)(?=\\s|\\.|$)",
406
+ "match": "\\b(?<!-)(?i:accept|add|address|allocate|call|cancel|chain|close|commit|compute|continue|delete|disable|display|bell|divide|eject|enable|enter|if|evaluate|exhibit|named|exit|free|generate|go\\s*to|go|goback|initialize\\sonly|initialize|initiate|inspect|merge|end-set|set|end-invoke|invoke\\s*run|invoke|move|corresponding|corr|multiply|otherwise|open|sharing|sort-merge|perform|purge|raise|ready|read|receive|release|return|rewrite|rounded|rollback|search|send|sort|start|service|subtract|suppress|terminate|then|unlock|string|unstring|validate|write|next|statement|sentence)(?=\\s|\\.|$)",
418
407
  "name": "keyword.verbs.cobol"
419
408
  },
420
409
  {
@@ -466,7 +455,7 @@
466
455
  "name": "keyword.operator.comparison.cobol"
467
456
  },
468
457
  {
469
- "match": "\\b(?<!-)(?i:enum-id|valuetype-id|operator-id|method-id|class-id|program-id|attribute-id|implements|inherits)(?=\\s|\\.)",
458
+ "match": "\\b(?<!-)(?i:enum-id|valuetype-id|operator-id|method-id|class-id|program-id|attribute-id|implements|inherits)(?=\\s|\\.|$/)",
470
459
  "name": "keyword.verbs.cobol"
471
460
  },
472
461
  {
@@ -474,13 +463,17 @@
474
463
  "name": "keyword.verbs.cobol"
475
464
  },
476
465
  {
477
- "match": "\\b(?<!-)(?i:sysout-flush|sysin|stderr|stdout|csp|stdin|sysipt|sysout|syslist|syslst|printer|syserr|console|c01|c02|c03|c04|c05|c06|c07|c08|c09|c10|c11|c12|formfeed|switch-0|switch-10|switch-11|switch-12|switch-13|switch-13|switch-14|switch-15|switch-1|switch-2|switch-3|switch-4|switch-5|switch-6|switch-7|switch-8|switch-9|sw0|sw11|sw12|sw13|sw14|sw15|sw1|sw2|sw3|sw4|sw5|sw6|sw7|sw8|sw9|sw10|lc_all|lc_collate|lc_ctype|lc_messages|lc_monetary|lc_numeric|lc_time|ucs-4|utf-8|utf-16)(?=\\s|\\.)",
466
+ "match": "\\b(?<!-)(?i:sysout-flush|sysin|stderr|stdout|csp|stdin|sysipt|sysout|syslist|syslst|printer|syserr|console|c01|c02|c03|c04|c05|c06|c07|c08|c09|c10|c11|c12|formfeed|switch-0|switch-10|switch-11|switch-12|switch-13|switch-13|switch-14|switch-15|switch-1|switch-2|switch-3|switch-4|switch-5|switch-6|switch-7|switch-8|switch-9|sw0|sw11|sw12|sw13|sw14|sw15|sw1|sw2|sw3|sw4|sw5|sw6|sw7|sw8|sw9|sw10|lc_all|lc_collate|lc_ctype|lc_messages|lc_monetary|lc_numeric|lc_time|ucs-4|utf-8|utf-16)(?=\\s|\\.|$)",
478
467
  "name": "support.type.cobol"
479
468
  },
480
469
  {
481
- "match": "\\b(?<!-)(?i:end-xml|processing.*procedure|xml\\sparse|xml|xml-information|xml-text|xml-schema|xml-ntext|xml-namespace|xml-namespace-prefix|xml-event|xml-declaration|xml-code|xml-nnamespace-prefix|xml-nnamespace)(?=\\s|\\.)",
470
+ "match": "\\b(?<!-)(?i:end-xml|processing.*procedure|xml\\sparse|xml|xml-information|xml-text|xml-schema|xml-ntext|xml-namespace|xml-namespace-prefix|xml-event|xml-declaration|xml-code|xml-nnamespace-prefix|xml-nnamespace)(?=\\s|\\.|$)",
482
471
  "name": "keyword.xml.cobol"
483
472
  },
473
+ {
474
+ "match": "\\b(?<!-)(?i:json|name\\sof)(?=\\s|\\.|$)",
475
+ "name": "keyword.json.cobol"
476
+ },
484
477
  {
485
478
  "match": "\\b(?<!-)(?i:alter|remarks)(?=\\s|\\.)",
486
479
  "name": "invalid.illegal.cobol"
@@ -217,7 +217,7 @@
217
217
  ]
218
218
  },
219
219
  {
220
- "begin": "(?<=\\s|^)(\\[)(?=[^'\"#]+?}[\\s\\]}]*=)",
220
+ "begin": "(?<=\\s|^)(\\[)(?=[^'\"#]+?\\][\\s\\]}]*=)",
221
221
  "beginCaptures": {
222
222
  "1": {
223
223
  "name": "punctuation.definition.destructuring.begin.bracket.square.coffee"
@@ -178,11 +178,6 @@
178
178
  },
179
179
  {
180
180
  "include": "#tags"
181
- },
182
- {
183
- "name": "comment.csound-document",
184
- "begin": "^",
185
- "end": "\n"
186
181
  }
187
182
  ],
188
183
  "repository": {