tm-grammars 1.22.19 → 1.23.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (234) hide show
  1. package/NOTICE +286 -1
  2. package/README.md +241 -239
  3. package/grammars/abap.json +36 -36
  4. package/grammars/actionscript-3.json +29 -29
  5. package/grammars/ada.json +78 -78
  6. package/grammars/angular-expression.json +62 -62
  7. package/grammars/angular-html.json +0 -1
  8. package/grammars/angular-inline-style.json +3 -3
  9. package/grammars/angular-inline-template.json +2 -2
  10. package/grammars/angular-template-blocks.json +3 -3
  11. package/grammars/angular-template.json +1 -1
  12. package/grammars/angular-ts.json +251 -251
  13. package/grammars/apache.json +31 -31
  14. package/grammars/apex.json +108 -108
  15. package/grammars/apl.json +18 -18
  16. package/grammars/applescript.json +11 -11
  17. package/grammars/ara.json +13 -13
  18. package/grammars/asciidoc.json +234 -234
  19. package/grammars/asm.json +90 -90
  20. package/grammars/astro.json +25 -25
  21. package/grammars/awk.json +8 -8
  22. package/grammars/ballerina.json +150 -150
  23. package/grammars/bat.json +28 -28
  24. package/grammars/beancount.json +33 -33
  25. package/grammars/berry.json +11 -11
  26. package/grammars/bibtex.json +12 -12
  27. package/grammars/bicep.json +12 -12
  28. package/grammars/blade.json +183 -183
  29. package/grammars/bsl.json +58 -58
  30. package/grammars/c.json +162 -162
  31. package/grammars/cadence.json +20 -20
  32. package/grammars/cairo.json +10 -10
  33. package/grammars/clarity.json +20 -20
  34. package/grammars/clojure.json +25 -25
  35. package/grammars/cmake.json +3 -3
  36. package/grammars/cobol.json +91 -91
  37. package/grammars/codeql.json +154 -154
  38. package/grammars/coffee.json +45 -45
  39. package/grammars/common-lisp.json +50 -50
  40. package/grammars/coq.json +10 -10
  41. package/grammars/cpp-macro.json +410 -410
  42. package/grammars/cpp.json +641 -641
  43. package/grammars/crystal.json +68 -68
  44. package/grammars/csharp.json +196 -196
  45. package/grammars/css.json +83 -83
  46. package/grammars/csv.json +1 -1
  47. package/grammars/cue.json +55 -55
  48. package/grammars/cypher.json +11 -11
  49. package/grammars/d.json +127 -32
  50. package/grammars/dart.json +18 -18
  51. package/grammars/dax.json +9 -9
  52. package/grammars/desktop.json +9 -9
  53. package/grammars/diff.json +3 -3
  54. package/grammars/dotenv.json +3 -3
  55. package/grammars/dream-maker.json +20 -20
  56. package/grammars/edge.json +8 -8
  57. package/grammars/elixir.json +44 -44
  58. package/grammars/elm.json +23 -23
  59. package/grammars/emacs-lisp.json +76 -76
  60. package/grammars/erb.json +2 -2
  61. package/grammars/erlang.json +29 -29
  62. package/grammars/es-tag-css.json +3 -3
  63. package/grammars/es-tag-glsl.json +3 -3
  64. package/grammars/es-tag-html.json +3 -3
  65. package/grammars/es-tag-sql.json +2 -2
  66. package/grammars/es-tag-xml.json +2 -2
  67. package/grammars/fennel.json +8 -8
  68. package/grammars/fish.json +10 -10
  69. package/grammars/fluent.json +10 -10
  70. package/grammars/fortran-fixed-form.json +1 -1
  71. package/grammars/fortran-free-form.json +106 -106
  72. package/grammars/fsharp.json +70 -70
  73. package/grammars/gdresource.json +15 -15
  74. package/grammars/gdscript.json +31 -27
  75. package/grammars/gdshader.json +18 -18
  76. package/grammars/genie.json +6 -6
  77. package/grammars/gherkin.json +1 -1
  78. package/grammars/git-commit.json +1 -1
  79. package/grammars/git-rebase.json +1 -1
  80. package/grammars/gleam.json +11 -11
  81. package/grammars/glimmer-js.json +35 -35
  82. package/grammars/glimmer-ts.json +35 -35
  83. package/grammars/glsl.json +4 -4
  84. package/grammars/gnuplot.json +41 -41
  85. package/grammars/go.json +155 -155
  86. package/grammars/graphql.json +20 -20
  87. package/grammars/groovy.json +44 -44
  88. package/grammars/hack.json +74 -74
  89. package/grammars/haml.json +24 -24
  90. package/grammars/handlebars.json +25 -25
  91. package/grammars/haskell.json +99 -99
  92. package/grammars/haxe.json +51 -51
  93. package/grammars/hcl.json +43 -43
  94. package/grammars/hjson.json +29 -29
  95. package/grammars/hlsl.json +15 -15
  96. package/grammars/html-derivative.json +0 -1
  97. package/grammars/html.json +28 -29
  98. package/grammars/http.json +17 -17
  99. package/grammars/hxml.json +3 -3
  100. package/grammars/hy.json +10 -10
  101. package/grammars/imba.json +168 -173
  102. package/grammars/ini.json +2 -2
  103. package/grammars/java.json +54 -54
  104. package/grammars/javascript.json +262 -262
  105. package/grammars/jinja-html.json +3 -3
  106. package/grammars/jinja.json +15 -15
  107. package/grammars/jison.json +18 -18
  108. package/grammars/json.json +6 -6
  109. package/grammars/json5.json +12 -12
  110. package/grammars/jsonc.json +6 -6
  111. package/grammars/jsonl.json +6 -6
  112. package/grammars/jsonnet.json +15 -15
  113. package/grammars/jssm.json +4 -4
  114. package/grammars/jsx.json +262 -262
  115. package/grammars/julia.json +45 -45
  116. package/grammars/kotlin.json +15 -15
  117. package/grammars/kusto.json +13 -13
  118. package/grammars/latex.json +260 -260
  119. package/grammars/lean.json +12 -12
  120. package/grammars/less.json +91 -91
  121. package/grammars/liquid.json +96 -62
  122. package/grammars/llvm.json +122 -0
  123. package/grammars/log.json +22 -22
  124. package/grammars/logo.json +2 -2
  125. package/grammars/lua.json +34 -34
  126. package/grammars/luau.json +20 -20
  127. package/grammars/make.json +22 -22
  128. package/grammars/markdown-vue.json +1 -1
  129. package/grammars/markdown.json +83 -83
  130. package/grammars/marko.json +19 -19
  131. package/grammars/matlab.json +29 -29
  132. package/grammars/mdc.json +17 -17
  133. package/grammars/mdx.json +278 -278
  134. package/grammars/mermaid.json +97 -97
  135. package/grammars/mipsasm.json +2 -2
  136. package/grammars/mojo.json +122 -122
  137. package/grammars/move.json +35 -35
  138. package/grammars/narrat.json +10 -10
  139. package/grammars/nextflow.json +11 -11
  140. package/grammars/nginx.json +45 -45
  141. package/grammars/nim.json +44 -44
  142. package/grammars/nix.json +71 -71
  143. package/grammars/nushell.json +36 -36
  144. package/grammars/objective-c.json +129 -129
  145. package/grammars/objective-cpp.json +245 -245
  146. package/grammars/ocaml.json +229 -229
  147. package/grammars/pascal.json +4 -4
  148. package/grammars/perl.json +64 -64
  149. package/grammars/php.json +199 -199
  150. package/grammars/plsql.json +10 -10
  151. package/grammars/po.json +4 -4
  152. package/grammars/polar.json +13 -13
  153. package/grammars/postcss.json +31 -31
  154. package/grammars/powerquery.json +10 -10
  155. package/grammars/powershell.json +54 -54
  156. package/grammars/prisma.json +13 -13
  157. package/grammars/prolog.json +3 -3
  158. package/grammars/proto.json +11 -11
  159. package/grammars/pug.json +30 -30
  160. package/grammars/puppet.json +35 -35
  161. package/grammars/purescript.json +843 -467
  162. package/grammars/python.json +126 -126
  163. package/grammars/qml.json +18 -18
  164. package/grammars/qss.json +7 -7
  165. package/grammars/r.json +17 -17
  166. package/grammars/racket.json +58 -58
  167. package/grammars/raku.json +15 -15
  168. package/grammars/razor.json +30 -30
  169. package/grammars/reg.json +3 -3
  170. package/grammars/regexp.json +15 -15
  171. package/grammars/rel.json +4 -4
  172. package/grammars/riscv.json +15 -15
  173. package/grammars/rst.json +26 -26
  174. package/grammars/ruby.json +103 -106
  175. package/grammars/rust.json +13 -13
  176. package/grammars/sas.json +9 -9
  177. package/grammars/sass.json +35 -35
  178. package/grammars/scala.json +75 -75
  179. package/grammars/scheme.json +16 -16
  180. package/grammars/scss.json +68 -68
  181. package/grammars/sdbl.json +18 -18
  182. package/grammars/shaderlab.json +8 -8
  183. package/grammars/shellscript.json +111 -111
  184. package/grammars/shellsession.json +1 -1
  185. package/grammars/smalltalk.json +5 -5
  186. package/grammars/solidity.json +20 -20
  187. package/grammars/soy.json +30 -30
  188. package/grammars/sparql.json +1 -1
  189. package/grammars/splunk.json +6 -6
  190. package/grammars/sql.json +8 -8
  191. package/grammars/ssh-config.json +2 -2
  192. package/grammars/stata.json +90 -90
  193. package/grammars/stylus.json +48 -48
  194. package/grammars/svelte.json +35 -25
  195. package/grammars/swift.json +114 -114
  196. package/grammars/system-verilog.json +25 -25
  197. package/grammars/systemd.json +16 -16
  198. package/grammars/talonscript.json +12 -12
  199. package/grammars/tasl.json +10 -10
  200. package/grammars/tcl.json +11 -11
  201. package/grammars/templ.json +34 -34
  202. package/grammars/terraform.json +42 -42
  203. package/grammars/tex.json +14 -14
  204. package/grammars/toml.json +15 -15
  205. package/grammars/tsx.json +262 -262
  206. package/grammars/turtle.json +2 -2
  207. package/grammars/twig.json +37 -37
  208. package/grammars/typescript.json +251 -251
  209. package/grammars/typespec.json +54 -273
  210. package/grammars/typst.json +34 -34
  211. package/grammars/v.json +32 -32
  212. package/grammars/vala.json +6 -6
  213. package/grammars/vb.json +7 -7
  214. package/grammars/verilog.json +4 -4
  215. package/grammars/vhdl.json +10 -10
  216. package/grammars/viml.json +22 -22
  217. package/grammars/vue-html.json +10 -10
  218. package/grammars/vue-sfc-style-variable-injection.json +1 -1
  219. package/grammars/vue.json +65 -65
  220. package/grammars/vyper.json +126 -126
  221. package/grammars/wasm.json +26 -26
  222. package/grammars/wenyan.json +7 -7
  223. package/grammars/wgsl.json +9 -9
  224. package/grammars/wikitext.json +66 -66
  225. package/grammars/wit.json +1409 -0
  226. package/grammars/wolfram.json +446 -446
  227. package/grammars/xml.json +11 -11
  228. package/grammars/xsl.json +1 -1
  229. package/grammars/yaml.json +24 -24
  230. package/grammars/zenscript.json +8 -8
  231. package/grammars/zig.json +11 -11
  232. package/index.d.ts +7 -0
  233. package/index.js +1003 -283
  234. package/package.json +1 -1
package/grammars/qml.json CHANGED
@@ -39,9 +39,9 @@
39
39
  "attributes-value": {
40
40
  "patterns": [
41
41
  {
42
- "begin": "(?<=\\w)\\s*\\:\\s*(?=[A-Z]\\w*\\s*\\{)",
42
+ "begin": "(?<=\\w)\\s*:\\s*(?=[A-Z]\\w*\\s*\\{)",
43
43
  "description": "A QML object as value.",
44
- "end": "(?<=\\})",
44
+ "end": "(?<=})",
45
45
  "patterns": [
46
46
  {
47
47
  "include": "#object"
@@ -49,9 +49,9 @@
49
49
  ]
50
50
  },
51
51
  {
52
- "begin": "(?<=\\w)\\s*\\:\\s*\\[",
52
+ "begin": "(?<=\\w)\\s*:\\s*\\[",
53
53
  "description": "A list as value.",
54
- "end": "\\](.*)$",
54
+ "end": "](.*)$",
55
55
  "endCaptures": {
56
56
  "0": {
57
57
  "patterns": [
@@ -71,14 +71,14 @@
71
71
  ]
72
72
  },
73
73
  {
74
- "begin": "(?<=\\w)\\s*\\:(?=\\s*\\{?\\s*$)",
74
+ "begin": "(?<=\\w)\\s*:(?=\\s*\\{?\\s*$)",
75
75
  "description": "A block of JavaScript code as value.",
76
- "end": "(?<=\\})",
76
+ "end": "(?<=})",
77
77
  "patterns": [
78
78
  {
79
79
  "begin": "\\{",
80
80
  "contentName": "meta.embedded.block.js",
81
- "end": "\\}",
81
+ "end": "}",
82
82
  "patterns": [
83
83
  {
84
84
  "include": "source.js"
@@ -88,10 +88,10 @@
88
88
  ]
89
89
  },
90
90
  {
91
- "begin": "(?<=\\w)\\s*\\:",
91
+ "begin": "(?<=\\w)\\s*:",
92
92
  "contentName": "meta.embedded.line.js",
93
93
  "description": "A JavaScript expression as value.",
94
- "end": ";|$|(?=\\})",
94
+ "end": ";|$|(?=})",
95
95
  "patterns": [
96
96
  {
97
97
  "include": "source.js"
@@ -103,7 +103,7 @@
103
103
  "comment": {
104
104
  "patterns": [
105
105
  {
106
- "begin": "(\\/\\/:)",
106
+ "begin": "(//:)",
107
107
  "beginCaptures": {
108
108
  "1": {
109
109
  "name": "storage.type.class.qml.tr"
@@ -117,7 +117,7 @@
117
117
  ]
118
118
  },
119
119
  {
120
- "begin": "(\\/\\/[~|=])\\s*([A-Za-z_$][\\w$.\\[\\]]*)",
120
+ "begin": "(//[~|=])\\s*([A-Za-z_$][\\w$.\\[\\]]*)",
121
121
  "beginCaptures": {
122
122
  "1": {
123
123
  "name": "storage.type.class.qml.tr"
@@ -134,7 +134,7 @@
134
134
  ]
135
135
  },
136
136
  {
137
- "begin": "(\\/\\/)",
137
+ "begin": "(//)",
138
138
  "beginCaptures": {
139
139
  "1": {
140
140
  "name": "comment.line.double-slash.qml"
@@ -148,13 +148,13 @@
148
148
  ]
149
149
  },
150
150
  {
151
- "begin": "(\\/\\*)",
151
+ "begin": "(/\\*)",
152
152
  "beginCaptures": {
153
153
  "1": {
154
154
  "name": "comment.line.double-slash.qml"
155
155
  }
156
156
  },
157
- "end": "(\\*\\/)",
157
+ "end": "(\\*/)",
158
158
  "endCaptures": {
159
159
  "1": {
160
160
  "name": "comment.line.double-slash.qml"
@@ -207,7 +207,7 @@
207
207
  "name": "variable.parameter.qml"
208
208
  }
209
209
  },
210
- "end": "\\}",
210
+ "end": "}",
211
211
  "patterns": [
212
212
  {
213
213
  "include": "$self"
@@ -288,7 +288,7 @@
288
288
  "name": "storage.type.qml"
289
289
  }
290
290
  },
291
- "end": "(?<=\\})",
291
+ "end": "(?<=})",
292
292
  "patterns": [
293
293
  {
294
294
  "begin": "([_a-zA-Z]\\w*)\\s*\\(",
@@ -307,7 +307,7 @@
307
307
  {
308
308
  "begin": "\\{",
309
309
  "contentName": "meta.embedded.block.js",
310
- "end": "\\}",
310
+ "end": "}",
311
311
  "patterns": [
312
312
  {
313
313
  "include": "source.js"
@@ -327,7 +327,7 @@
327
327
  "name": "entity.name.type.qml"
328
328
  }
329
329
  },
330
- "end": "\\}",
330
+ "end": "}",
331
331
  "patterns": [
332
332
  {
333
333
  "include": "$self"
package/grammars/qss.json CHANGED
@@ -38,7 +38,7 @@
38
38
  "name": "support.constant.property-value.named-color.qss"
39
39
  },
40
40
  {
41
- "match": "#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})\\b",
41
+ "match": "#(\\h{3}|\\h{6}|\\h{8})\\b",
42
42
  "name": "support.constant.property-value.color.qss"
43
43
  }
44
44
  ]
@@ -71,7 +71,7 @@
71
71
  "name": "entity.name.tag.qss"
72
72
  }
73
73
  },
74
- "match": "(#)([a-zA-Z][a-zA-Z0-9_-]*)"
74
+ "match": "(#)([a-zA-Z][a-zA-Z0-9_\\-]*)"
75
75
  }
76
76
  ]
77
77
  },
@@ -117,7 +117,7 @@
117
117
  "patterns": [
118
118
  {
119
119
  "begin": "\\[",
120
- "end": "\\]",
120
+ "end": "]",
121
121
  "patterns": [
122
122
  {
123
123
  "include": "#comment-block"
@@ -137,7 +137,7 @@
137
137
  "patterns": [
138
138
  {
139
139
  "begin": ":",
140
- "end": ";|(?=\\})",
140
+ "end": ";|(?=})",
141
141
  "patterns": [
142
142
  {
143
143
  "include": "#comment-block"
@@ -146,7 +146,7 @@
146
146
  "include": "#color"
147
147
  },
148
148
  {
149
- "begin": "\\b(qlineargradient|qradialgradient|qconicalgradient)\\s*\\(",
149
+ "begin": "\\b(q(?:lineargradient|radialgradient|conicalgradient))\\s*\\(",
150
150
  "beginCaptures": {
151
151
  "1": {
152
152
  "name": "entity.name.function.qss"
@@ -215,7 +215,7 @@
215
215
  "patterns": [
216
216
  {
217
217
  "begin": "\\{",
218
- "end": "\\}",
218
+ "end": "}",
219
219
  "patterns": [
220
220
  {
221
221
  "include": "#comment-block"
@@ -267,7 +267,7 @@
267
267
  "stylable-widgets": {
268
268
  "patterns": [
269
269
  {
270
- "match": "\\b(QAbstractScrollArea|QAbstractItemView|QCheckBox|QColumnView|QComboBox|QDateEdit|QDateTimeEdit|QDialog|QDialogButtonBox|QDockWidget|QDoubleSpinBox|QFrame|QGroupBox|QHeaderView|QLabel|QLineEdit|QListView|QListWidget|QMainWindow|QMenu|QMenuBar|QMessageBox|QProgressBar|QPlainTextEdit|QPushButton|QRadioButton|QScrollBar|QSizeGrip|QSlider|QSpinBox|QSplitter|QStatusBar|QTabBar|QTabWidget|QTableView|QTableWidget|QTextEdit|QTimeEdit|QToolBar|QToolButton|QToolBox|QToolTip|QTreeView|QTreeWidget|QWidget)\\b",
270
+ "match": "\\b(Q(?:AbstractScrollArea|AbstractItemView|CheckBox|ColumnView|ComboBox|DateEdit|DateTimeEdit|Dialog|DialogButtonBox|DockWidget|DoubleSpinBox|Frame|GroupBox|HeaderView|Label|LineEdit|ListView|ListWidget|MainWindow|Menu|MenuBar|MessageBox|ProgressBar|PlainTextEdit|PushButton|RadioButton|ScrollBar|SizeGrip|Slider|SpinBox|Splitter|StatusBar|TabBar|TabWidget|TableView|TableWidget|TextEdit|TimeEdit|ToolBar|ToolButton|ToolBox|ToolTip|TreeView|TreeWidget|Widget))\\b",
271
271
  "name": "entity.name.type.qss"
272
272
  }
273
273
  ]
package/grammars/r.json CHANGED
@@ -68,7 +68,7 @@
68
68
  "name": "punctuation.section.brackets.single.begin.r"
69
69
  }
70
70
  },
71
- "end": "\\]",
71
+ "end": "]",
72
72
  "endCaptures": {
73
73
  "0": {
74
74
  "name": "punctuation.section.brackets.single.end.r"
@@ -88,7 +88,7 @@
88
88
  }
89
89
  },
90
90
  "contentName": "meta.item-access.arguments.r",
91
- "end": "\\]\\]",
91
+ "end": "]]",
92
92
  "endCaptures": {
93
93
  "0": {
94
94
  "name": "punctuation.section.brackets.double.end.r"
@@ -107,7 +107,7 @@
107
107
  "name": "punctuation.section.braces.begin.r"
108
108
  }
109
109
  },
110
- "end": "\\}",
110
+ "end": "}",
111
111
  "endCaptures": {
112
112
  "0": {
113
113
  "name": "punctuation.section.braces.end.r"
@@ -221,35 +221,35 @@
221
221
  "name": "constant.language.r"
222
222
  },
223
223
  {
224
- "match": "\\b0(x|X)[0-9a-fA-F]+i\\b",
224
+ "match": "\\b0([xX])\\h+i\\b",
225
225
  "name": "constant.numeric.imaginary.hexadecimal.r"
226
226
  },
227
227
  {
228
- "match": "\\b[0-9]+\\.?[0-9]*(?:(e|E)(\\+|-)?[0-9]+)?i\\b",
228
+ "match": "\\b[0-9]+\\.?[0-9]*(?:([eE])([+\\-])?[0-9]+)?i\\b",
229
229
  "name": "constant.numeric.imaginary.decimal.r"
230
230
  },
231
231
  {
232
- "match": "\\.[0-9]+(?:(e|E)(\\+|-)?[0-9]+)?i\\b",
232
+ "match": "\\.[0-9]+(?:([eE])([+\\-])?[0-9]+)?i\\b",
233
233
  "name": "constant.numeric.imaginary.decimal.r"
234
234
  },
235
235
  {
236
- "match": "\\b0(x|X)[0-9a-fA-F]+L\\b",
236
+ "match": "\\b0([xX])\\h+L\\b",
237
237
  "name": "constant.numeric.integer.hexadecimal.r"
238
238
  },
239
239
  {
240
- "match": "\\b(?:[0-9]+\\.?[0-9]*)(?:(e|E)(\\+|-)?[0-9]+)?L\\b",
240
+ "match": "\\b[0-9]+\\.?[0-9]*(?:([eE])([+\\-])?[0-9]+)?L\\b",
241
241
  "name": "constant.numeric.integer.decimal.r"
242
242
  },
243
243
  {
244
- "match": "\\b0(x|X)[0-9a-fA-F]+\\b",
244
+ "match": "\\b0([xX])\\h+\\b",
245
245
  "name": "constant.numeric.float.hexadecimal.r"
246
246
  },
247
247
  {
248
- "match": "\\b[0-9]+\\.?[0-9]*(?:(e|E)(\\+|-)?[0-9]+)?\\b",
248
+ "match": "\\b[0-9]+\\.?[0-9]*(?:([eE])([+\\-])?[0-9]+)?\\b",
249
249
  "name": "constant.numeric.float.decimal.r"
250
250
  },
251
251
  {
252
- "match": "\\.[0-9]+(?:(e|E)(\\+|-)?[0-9]+)?\\b",
252
+ "match": "\\.[0-9]+(?:([eE])([+\\-])?[0-9]+)?\\b",
253
253
  "name": "constant.numeric.float.decimal.r"
254
254
  }
255
255
  ]
@@ -292,7 +292,7 @@
292
292
  "name": "keyword.control.r"
293
293
  }
294
294
  },
295
- "match": "((?:`[^`\\\\]*(?:\\\\.[^`\\\\]*)*`)|(?:[[:alpha:].][[:alnum:]._]*))\\s*(<?<-|=(?!=))\\s*(function|\\\\)(?!\\w)",
295
+ "match": "(`[^`\\\\]*(?:\\\\.[^`\\\\]*)*`|[[:alpha:].][[:alnum:]._]*)\\s*(<?<-|=(?!=))\\s*(function|\\\\)(?!\\w)",
296
296
  "name": "meta.function.r",
297
297
  "patterns": [
298
298
  {
@@ -375,7 +375,7 @@
375
375
  "name": "keyword.control.r"
376
376
  },
377
377
  {
378
- "match": "(\\-|\\+|\\*|\\/|%\\/%|%%|%\\*%|%o%|%x%|\\^)",
378
+ "match": "([\\-+*/]|%/%|%%|%\\*%|%o%|%x%|\\^)",
379
379
  "name": "keyword.operator.arithmetic.r"
380
380
  },
381
381
  {
@@ -383,11 +383,11 @@
383
383
  "name": "keyword.operator.assignment.r"
384
384
  },
385
385
  {
386
- "match": "(==|<=|>=|!=|<>|<|>|%in%)",
386
+ "match": "(==|<=|>=|!=|<>|[<>]|%in%)",
387
387
  "name": "keyword.operator.comparison.r"
388
388
  },
389
389
  {
390
- "match": "(!|&{1,2}|[|]{1,2})",
390
+ "match": "(!|&{1,2}|\\|{1,2})",
391
391
  "name": "keyword.operator.logical.r"
392
392
  },
393
393
  {
@@ -395,11 +395,11 @@
395
395
  "name": "keyword.operator.pipe.r"
396
396
  },
397
397
  {
398
- "match": "(%between%|%chin%|%like%|%\\+%|%\\+replace%|%:%|%do%|%dopar%|%>%|%<>%|%T>%|%\\$%)",
398
+ "match": "(%(?:between%|chin%|like%|\\+%|\\+replace%|:%|do%|dopar%|>%|<>%|T>%|\\$%))",
399
399
  "name": "keyword.operator.other.r"
400
400
  },
401
401
  {
402
- "match": "(\\.\\.\\.|\\$|:|\\~|@)",
402
+ "match": "(\\.\\.\\.|[$:~@])",
403
403
  "name": "keyword.other.r"
404
404
  }
405
405
  ]