tm-grammars 0.0.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 (181) hide show
  1. package/LICENSE +22 -0
  2. package/NOTICE +6565 -0
  3. package/README.md +211 -0
  4. package/grammars/abap.json +380 -0
  5. package/grammars/actionscript-3.json +951 -0
  6. package/grammars/ada.json +3874 -0
  7. package/grammars/apache.json +562 -0
  8. package/grammars/apex.json +3203 -0
  9. package/grammars/apl.json +1479 -0
  10. package/grammars/applescript.json +1406 -0
  11. package/grammars/ara.json +428 -0
  12. package/grammars/asm.json +1741 -0
  13. package/grammars/astro.json +776 -0
  14. package/grammars/awk.json +388 -0
  15. package/grammars/ballerina.json +3768 -0
  16. package/grammars/bat.json +783 -0
  17. package/grammars/beancount.json +831 -0
  18. package/grammars/berry.json +172 -0
  19. package/grammars/bibtex.json +315 -0
  20. package/grammars/bicep.json +239 -0
  21. package/grammars/blade.json +3870 -0
  22. package/grammars/c.json +3552 -0
  23. package/grammars/cadence.json +738 -0
  24. package/grammars/clarity.json +877 -0
  25. package/grammars/clojure.json +426 -0
  26. package/grammars/cmake.json +143 -0
  27. package/grammars/cobol.json +1124 -0
  28. package/grammars/codeql.json +1540 -0
  29. package/grammars/coffee.json +1311 -0
  30. package/grammars/cpp-macro.json +9498 -0
  31. package/grammars/cpp.json +16635 -0
  32. package/grammars/crystal.json +1866 -0
  33. package/grammars/csharp.json +5722 -0
  34. package/grammars/css.json +1860 -0
  35. package/grammars/csv.json +46 -0
  36. package/grammars/cue.json +1128 -0
  37. package/grammars/cypher.json +353 -0
  38. package/grammars/d.json +3185 -0
  39. package/grammars/dart.json +522 -0
  40. package/grammars/dax.json +185 -0
  41. package/grammars/diff.json +155 -0
  42. package/grammars/docker.json +97 -0
  43. package/grammars/dream-maker.json +640 -0
  44. package/grammars/elixir.json +1014 -0
  45. package/grammars/elm.json +751 -0
  46. package/grammars/erb.json +156 -0
  47. package/grammars/erlang.json +1757 -0
  48. package/grammars/fish.json +189 -0
  49. package/grammars/fsharp.json +1831 -0
  50. package/grammars/gdresource.json +290 -0
  51. package/grammars/gdscript.json +969 -0
  52. package/grammars/gdshader.json +405 -0
  53. package/grammars/gherkin.json +133 -0
  54. package/grammars/git-commit.json +85 -0
  55. package/grammars/git-rebase.json +56 -0
  56. package/grammars/glimmer-js.json +98 -0
  57. package/grammars/glimmer-ts.json +98 -0
  58. package/grammars/glsl.json +57 -0
  59. package/grammars/gnuplot.json +892 -0
  60. package/grammars/go.json +1012 -0
  61. package/grammars/graphql.json +1295 -0
  62. package/grammars/groovy.json +1378 -0
  63. package/grammars/hack.json +2650 -0
  64. package/grammars/haml.json +598 -0
  65. package/grammars/handlebars.json +848 -0
  66. package/grammars/haskell.json +2431 -0
  67. package/grammars/hcl.json +787 -0
  68. package/grammars/hjson.json +821 -0
  69. package/grammars/hlsl.json +212 -0
  70. package/grammars/html.json +93 -0
  71. package/grammars/imba.json +2696 -0
  72. package/grammars/ini.json +108 -0
  73. package/grammars/java.json +1885 -0
  74. package/grammars/javascript.json +5984 -0
  75. package/grammars/jinja-html.json +16 -0
  76. package/grammars/jinja.json +345 -0
  77. package/grammars/jison.json +715 -0
  78. package/grammars/jsdoc.json +21 -0
  79. package/grammars/json.json +208 -0
  80. package/grammars/json5.json +244 -0
  81. package/grammars/jsonc.json +208 -0
  82. package/grammars/jsonl.json +208 -0
  83. package/grammars/jsonnet.json +211 -0
  84. package/grammars/jssm.json +159 -0
  85. package/grammars/jsx.json +5984 -0
  86. package/grammars/julia.json +1061 -0
  87. package/grammars/kotlin.json +580 -0
  88. package/grammars/kusto.json +687 -0
  89. package/grammars/latex.json +2395 -0
  90. package/grammars/less.json +5012 -0
  91. package/grammars/liquid.json +990 -0
  92. package/grammars/lisp.json +121 -0
  93. package/grammars/logo.json +55 -0
  94. package/grammars/lua.json +956 -0
  95. package/grammars/make.json +629 -0
  96. package/grammars/markdown.json +3066 -0
  97. package/grammars/marko.json +1344 -0
  98. package/grammars/matlab.json +1131 -0
  99. package/grammars/mdc.json +571 -0
  100. package/grammars/mdx.json +5629 -0
  101. package/grammars/mermaid.json +1382 -0
  102. package/grammars/mojo.json +4153 -0
  103. package/grammars/narrat.json +227 -0
  104. package/grammars/nextflow.json +298 -0
  105. package/grammars/nginx.json +2121 -0
  106. package/grammars/nim.json +1522 -0
  107. package/grammars/nix.json +1200 -0
  108. package/grammars/nushell.json +1047 -0
  109. package/grammars/objective-c.json +3750 -0
  110. package/grammars/objective-cpp.json +7242 -0
  111. package/grammars/ocaml.json +2967 -0
  112. package/grammars/pascal.json +154 -0
  113. package/grammars/perl.json +2971 -0
  114. package/grammars/php.json +4024 -0
  115. package/grammars/plsql.json +241 -0
  116. package/grammars/postcss.json +377 -0
  117. package/grammars/powerquery.json +349 -0
  118. package/grammars/powershell.json +1024 -0
  119. package/grammars/prisma.json +443 -0
  120. package/grammars/prolog.json +298 -0
  121. package/grammars/proto.json +507 -0
  122. package/grammars/pug.json +1033 -0
  123. package/grammars/puppet.json +777 -0
  124. package/grammars/purescript.json +871 -0
  125. package/grammars/python.json +4208 -0
  126. package/grammars/r.json +637 -0
  127. package/grammars/raku.json +310 -0
  128. package/grammars/razor.json +1813 -0
  129. package/grammars/reg.json +136 -0
  130. package/grammars/rel.json +200 -0
  131. package/grammars/riscv.json +298 -0
  132. package/grammars/rst.json +734 -0
  133. package/grammars/ruby.json +2769 -0
  134. package/grammars/rust.json +1171 -0
  135. package/grammars/sas.json +302 -0
  136. package/grammars/sass.json +618 -0
  137. package/grammars/scala.json +1313 -0
  138. package/grammars/scheme.json +384 -0
  139. package/grammars/scss.json +1874 -0
  140. package/grammars/shaderlab.json +199 -0
  141. package/grammars/shellscript.json +2025 -0
  142. package/grammars/shellsession.json +33 -0
  143. package/grammars/smalltalk.json +235 -0
  144. package/grammars/solidity.json +1210 -0
  145. package/grammars/sparql.json +45 -0
  146. package/grammars/splunk.json +91 -0
  147. package/grammars/sql.json +631 -0
  148. package/grammars/ssh-config.json +88 -0
  149. package/grammars/stata.json +3050 -0
  150. package/grammars/stylus.json +1208 -0
  151. package/grammars/svelte.json +1171 -0
  152. package/grammars/swift.json +4203 -0
  153. package/grammars/system-verilog.json +1063 -0
  154. package/grammars/tasl.json +292 -0
  155. package/grammars/tcl.json +291 -0
  156. package/grammars/tex.json +281 -0
  157. package/grammars/toml.json +431 -0
  158. package/grammars/tsx.json +5984 -0
  159. package/grammars/turtle.json +261 -0
  160. package/grammars/twig.json +1394 -0
  161. package/grammars/typescript.json +5735 -0
  162. package/grammars/v.json +1001 -0
  163. package/grammars/vb.json +232 -0
  164. package/grammars/verilog.json +305 -0
  165. package/grammars/vhdl.json +1484 -0
  166. package/grammars/viml.json +445 -0
  167. package/grammars/vue-html.json +559 -0
  168. package/grammars/vue.json +1237 -0
  169. package/grammars/vyper.json +5415 -0
  170. package/grammars/wasm.json +831 -0
  171. package/grammars/wenyan.json +129 -0
  172. package/grammars/wgsl.json +391 -0
  173. package/grammars/wolfram.json +2370 -0
  174. package/grammars/xml.json +382 -0
  175. package/grammars/xsl.json +89 -0
  176. package/grammars/yaml.json +616 -0
  177. package/grammars/zenscript.json +257 -0
  178. package/grammars/zig.json +312 -0
  179. package/index.d.ts +18 -0
  180. package/index.js +2165 -0
  181. package/package.json +46 -0
@@ -0,0 +1,892 @@
1
+ {
2
+ "displayName": "Gnuplot",
3
+ "fileTypes": [
4
+ "gp",
5
+ "plt",
6
+ "plot",
7
+ "gnuplot"
8
+ ],
9
+ "name": "gnuplot",
10
+ "patterns": [
11
+ {
12
+ "match": "(\\\\(?!\\n).*)",
13
+ "name": "invalid.illegal.backslash.gnuplot"
14
+ },
15
+ {
16
+ "match": "(;)",
17
+ "name": "punctuation.separator.statement.gnuplot"
18
+ },
19
+ {
20
+ "include": "#LineComment"
21
+ },
22
+ {
23
+ "include": "#DataBlock"
24
+ },
25
+ {
26
+ "include": "#MacroExpansion"
27
+ },
28
+ {
29
+ "include": "#VariableDecl"
30
+ },
31
+ {
32
+ "include": "#ArrayDecl"
33
+ },
34
+ {
35
+ "include": "#FunctionDecl"
36
+ },
37
+ {
38
+ "include": "#ShellCommand"
39
+ },
40
+ {
41
+ "include": "#Command"
42
+ }
43
+ ],
44
+ "repository": {
45
+ "ArrayDecl": {
46
+ "begin": "\\b(?x:\n\t\t\t\t(array)\\s+ # 1: array keyword\n\t\t\t\t([A-Za-z_]\\w*)? # 2: var name\n\t\t\t\t# Note: Handle size decl and init expression inside.\n\t\t\t\t# TODO: Properly annotate brackets.\n\t\t\t)",
47
+ "beginCaptures": {
48
+ "1": {
49
+ "name": "support.type.array.gnuplot"
50
+ },
51
+ "2": {
52
+ "name": "entity.name.variable.gnuplot",
53
+ "patterns": [
54
+ {
55
+ "include": "#InvalidVariableDecl"
56
+ },
57
+ {
58
+ "include": "#BuiltinVariable"
59
+ }
60
+ ]
61
+ }
62
+ },
63
+ "end": "(?=(;|#|\\\\(?!\\n)|(?<!\\\\)\\n$))",
64
+ "name": "meta.variable.gnuplot",
65
+ "patterns": [
66
+ {
67
+ "include": "#Expression"
68
+ }
69
+ ]
70
+ },
71
+ "BuiltinFunction": {
72
+ "patterns": [
73
+ {
74
+ "match": "\\b(?x:\n\t\t\t\t\t\tdefined\n\t\t\t\t\t)\\b",
75
+ "name": "invalid.deprecated.function.gnuplot"
76
+ },
77
+ {
78
+ "match": "\\b(?x:\n\t\t\t\t\t\tabs |\n\t\t\t\t\t\tacos |\n\t\t\t\t\t\tacosh |\n\t\t\t\t\t\tairy |\n\t\t\t\t\t\targ |\n\t\t\t\t\t\tasin |\n\t\t\t\t\t\tasinh |\n\t\t\t\t\t\tatan |\n\t\t\t\t\t\tatan2 |\n\t\t\t\t\t\tatanh |\n\t\t\t\t\t\tEllipticK |\n\t\t\t\t\t\tEllipticE |\n\t\t\t\t\t\tEllipticPi |\n\t\t\t\t\t\tbesj0 |\n\t\t\t\t\t\tbesj1 |\n\t\t\t\t\t\tbesy0 |\n\t\t\t\t\t\tbesy1 |\n\t\t\t\t\t\tceil |\n\t\t\t\t\t\tcos |\n\t\t\t\t\t\tcosh |\n\t\t\t\t\t\terf |\n\t\t\t\t\t\terfc |\n\t\t\t\t\t\texp |\n\t\t\t\t\t\texpint |\n\t\t\t\t\t\tfloor |\n\t\t\t\t\t\tgamma |\n\t\t\t\t\t\tibeta |\n\t\t\t\t\t\tinverf |\n\t\t\t\t\t\tigamma |\n\t\t\t\t\t\timag |\n\t\t\t\t\t\tinvnorm |\n\t\t\t\t\t\tint |\n\t\t\t\t\t\tlambertw |\n\t\t\t\t\t\tlgamma |\n\t\t\t\t\t\tlog |\n\t\t\t\t\t\tlog10 |\n\t\t\t\t\t\tnorm |\n\t\t\t\t\t\trand |\n\t\t\t\t\t\treal |\n\t\t\t\t\t\tsgn |\n\t\t\t\t\t\tsin |\n\t\t\t\t\t\tsinh |\n\t\t\t\t\t\tsqrt |\n\t\t\t\t\t\ttan |\n\t\t\t\t\t\ttanh |\n\t\t\t\t\t\tvoigt |\n\t\t\t\t\t\tcerf |\n\t\t\t\t\t\tcdawson |\n\t\t\t\t\t\tfaddeeva |\n\t\t\t\t\t\terfi |\n\t\t\t\t\t\tVP\n\t\t\t\t\t)\\b",
79
+ "name": "support.function.math.gnuplot"
80
+ },
81
+ {
82
+ "match": "\\b(?x:\n\t\t\t\t\t\tgprintf |\n\t\t\t\t\t\tsprintf |\n\t\t\t\t\t\tstrlen |\n\t\t\t\t\t\tstrstrt |\n\t\t\t\t\t\tsubstr |\n\t\t\t\t\t\tstrftime |\n\t\t\t\t\t\tstrptime |\n\t\t\t\t\t\tsystem |\n\t\t\t\t\t\tword |\n\t\t\t\t\t\twords\n\t\t\t\t\t)\\b",
83
+ "name": "support.function.string.gnuplot"
84
+ },
85
+ {
86
+ "match": "\\b(?x:\n\t\t\t\t\t\tcolumn |\n\t\t\t\t\t\tcolumnhead |\n\t\t\t\t\t\texists |\n\t\t\t\t\t\thsv2rgb |\n\t\t\t\t\t\tstringcolumn |\n\t\t\t\t\t\ttimecolumn |\n\t\t\t\t\t\ttm_hour |\n\t\t\t\t\t\ttm_mday |\n\t\t\t\t\t\ttm_min |\n\t\t\t\t\t\ttm_mon |\n\t\t\t\t\t\ttm_sec |\n\t\t\t\t\t\ttm_wday |\n\t\t\t\t\t\ttm_yday |\n\t\t\t\t\t\ttm_year |\n\t\t\t\t\t\ttime |\n\t\t\t\t\t\tvalid |\n\t\t\t\t\t\tvalue\n\t\t\t\t\t)\\b",
87
+ "name": "support.function.other.gnuplot"
88
+ }
89
+ ]
90
+ },
91
+ "BuiltinOperator": {
92
+ "patterns": [
93
+ {
94
+ "match": "(&&|\\|\\|)",
95
+ "name": "keyword.operator.logical.gnuplot"
96
+ },
97
+ {
98
+ "match": "(<<|>>|&|\\||\\^)",
99
+ "name": "keyword.operator.bitwise.gnuplot"
100
+ },
101
+ {
102
+ "match": "(==|!=|<=|<|>=|>)",
103
+ "name": "keyword.operator.comparison.gnuplot"
104
+ },
105
+ {
106
+ "match": "(=)",
107
+ "name": "keyword.operator.assignment.gnuplot"
108
+ },
109
+ {
110
+ "match": "(\\+|-|~|!)",
111
+ "name": "keyword.operator.arithmetic.gnuplot"
112
+ },
113
+ {
114
+ "match": "(\\*\\*|\\+|-|\\*|/|%)",
115
+ "name": "keyword.operator.arithmetic.gnuplot"
116
+ },
117
+ {
118
+ "captures": {
119
+ "2": {
120
+ "name": "keyword.operator.word.gnuplot"
121
+ }
122
+ },
123
+ "match": "(\\.|\\b(eq|ne)\\b)",
124
+ "name": "keyword.operator.strings.gnuplot"
125
+ }
126
+ ]
127
+ },
128
+ "BuiltinVariable": {
129
+ "patterns": [
130
+ {
131
+ "match": "\\b(?x:\n\t\t\t\t\t\tFIT_LIMIT |\n\t\t\t\t\t\tFIT_MAXITER |\n\t\t\t\t\t\tFIT_START_LAMBDA |\n\t\t\t\t\t\tFIT_LAMBDA_FACTOR |\n\t\t\t\t\t\tFIT_SKIP |\n\t\t\t\t\t\tFIT_INDEX\n\t\t\t\t\t)\\b",
132
+ "name": "invalid.deprecated.variable.gnuplot"
133
+ },
134
+ {
135
+ "match": "\\b(GPVAL_\\w*|MOUSE_\\w*)\\b",
136
+ "name": "support.constant.gnuplot"
137
+ },
138
+ {
139
+ "match": "\\b(ARG[0-9C]|GPFUN_\\w*|FIT_\\w*|STATS_\\w*|pi|NaN)\\b",
140
+ "name": "support.variable.gnuplot"
141
+ }
142
+ ]
143
+ },
144
+ "ColumnIndexLiteral": {
145
+ "match": "([$][0-9]+)\\b",
146
+ "name": "support.constant.columnindex.gnuplot"
147
+ },
148
+ "Command": {
149
+ "patterns": [
150
+ {
151
+ "begin": "\\b(?x:\n\t\t\t\t\t\tupdate\n\t\t\t\t\t)\\b",
152
+ "end": "(?=(;|#|\\\\(?!\\n)|(?<!\\\\)\\n$))",
153
+ "name": "invalid.deprecated.command.gnuplot"
154
+ },
155
+ {
156
+ "begin": "\\b(?x:\n\t\t\t\t\t\tbreak |\n\t\t\t\t\t\tclear |\n\t\t\t\t\t\tcontinue |\n\t\t\t\t\t\tpwd |\n\t\t\t\t\t\trefresh |\n\t\t\t\t\t\treplot |\n\t\t\t\t\t\treread |\n\t\t\t\t\t\tshell\n\t\t\t\t\t)\\b",
157
+ "beginCaptures": {
158
+ "0": {
159
+ "name": "keyword.other.command.gnuplot"
160
+ }
161
+ },
162
+ "end": "(?=(;|#|\\\\(?!\\n)|(?<!\\\\)\\n$))",
163
+ "patterns": [
164
+ {
165
+ "include": "#InvalidWord"
166
+ }
167
+ ]
168
+ },
169
+ {
170
+ "begin": "\\b(?x:\n\t\t\t\t\t\tcd |\n\t\t\t\t\t\tcall |\n\t\t\t\t\t\teval |\n\t\t\t\t\t\texit |\n\t\t\t\t\t\thelp |\n\t\t\t\t\t\thistory |\n\t\t\t\t\t\tload |\n\t\t\t\t\t\tlower |\n\t\t\t\t\t\tpause |\n\t\t\t\t\t\tprint |\n\t\t\t\t\t\tprinterr |\n\t\t\t\t\t\tquit |\n\t\t\t\t\t\traise |\n\t\t\t\t\t\tsave |\n\t\t\t\t\t\tstats |\n\t\t\t\t\t\tsystem |\n\t\t\t\t\t\ttest |\n\t\t\t\t\t\ttoggle\n\t\t\t\t\t)\\b",
171
+ "beginCaptures": {
172
+ "0": {
173
+ "name": "keyword.other.command.gnuplot"
174
+ }
175
+ },
176
+ "end": "(?=(;|#|\\\\(?!\\n)|(?<!\\\\)\\n$))",
177
+ "patterns": [
178
+ {
179
+ "include": "#Expression"
180
+ }
181
+ ]
182
+ },
183
+ {
184
+ "begin": "\\b(import)\\s(.+)\\s(from)",
185
+ "beginCaptures": {
186
+ "1": {
187
+ "name": "keyword.control.import.gnuplot"
188
+ },
189
+ "2": {
190
+ "patterns": [
191
+ {
192
+ "include": "#FunctionDecl"
193
+ }
194
+ ]
195
+ },
196
+ "3": {
197
+ "name": "keyword.control.import.gnuplot"
198
+ }
199
+ },
200
+ "end": "(?=(;|#|\\\\(?!\\n)|(?<!\\\\)\\n$))",
201
+ "patterns": [
202
+ {
203
+ "include": "#SingleQuotedStringLiteral"
204
+ },
205
+ {
206
+ "include": "#DoubleQuotedStringLiteral"
207
+ },
208
+ {
209
+ "include": "#InvalidWord"
210
+ }
211
+ ]
212
+ },
213
+ {
214
+ "begin": "\\b(reset)\\b",
215
+ "beginCaptures": {
216
+ "1": {
217
+ "name": "keyword.other.command.gnuplot"
218
+ }
219
+ },
220
+ "end": "(?=(;|#|\\\\(?!\\n)|(?<!\\\\)\\n$))",
221
+ "patterns": [
222
+ {
223
+ "match": "\\b(bind|error(state)?|session)\\b",
224
+ "name": "support.class.reset.gnuplot"
225
+ },
226
+ {
227
+ "include": "#InvalidWord"
228
+ }
229
+ ]
230
+ },
231
+ {
232
+ "begin": "\\b(undefine)\\b",
233
+ "beginCaptures": {
234
+ "1": {
235
+ "name": "keyword.other.command.gnuplot"
236
+ }
237
+ },
238
+ "end": "(?=(;|#|\\\\(?!\\n)|(?<!\\\\)\\n$))",
239
+ "patterns": [
240
+ {
241
+ "include": "#BuiltinVariable"
242
+ },
243
+ {
244
+ "include": "#BuiltinFunction"
245
+ },
246
+ {
247
+ "match": "(?<=\\s)([$]?[A-Za-z_]\\w*\\*?)(?=\\s)",
248
+ "name": "source.gnuplot"
249
+ },
250
+ {
251
+ "include": "#InvalidWord"
252
+ }
253
+ ]
254
+ },
255
+ {
256
+ "begin": "\\b(if|while)\\b",
257
+ "beginCaptures": {
258
+ "1": {
259
+ "name": "keyword.control.conditional.gnuplot"
260
+ }
261
+ },
262
+ "end": "(?=(\\{|#|\\\\(?!\\n)|(?<!\\\\)\\n$))",
263
+ "patterns": [
264
+ {
265
+ "include": "#Expression"
266
+ }
267
+ ]
268
+ },
269
+ {
270
+ "begin": "\\b(else)\\b",
271
+ "beginCaptures": {
272
+ "1": {
273
+ "name": "keyword.control.conditional.gnuplot"
274
+ }
275
+ },
276
+ "end": "(?=(\\{|#|\\\\(?!\\n)|(?<!\\\\)\\n$))"
277
+ },
278
+ {
279
+ "begin": "\\b(do)\\b",
280
+ "beginCaptures": {
281
+ "1": {
282
+ "name": "keyword.control.flow.gnuplot"
283
+ }
284
+ },
285
+ "end": "(?=(\\{|#|\\\\(?!\\n)|(?<!\\\\)\\n$))",
286
+ "patterns": [
287
+ {
288
+ "include": "#ForIterationExpr"
289
+ }
290
+ ]
291
+ },
292
+ {
293
+ "begin": "\\b(set)(?=\\s+pm3d)\\b",
294
+ "beginCaptures": {
295
+ "1": {
296
+ "name": "keyword.other.command.gnuplot"
297
+ }
298
+ },
299
+ "end": "(?=(;|#|\\\\(?!\\n)|(?<!\\\\)\\n$))",
300
+ "patterns": [
301
+ {
302
+ "match": "\\b(hidden3d|map|transparent|solid)\\b",
303
+ "name": "invalid.deprecated.options.gnuplot"
304
+ },
305
+ {
306
+ "include": "#SetUnsetOptions"
307
+ },
308
+ {
309
+ "include": "#ForIterationExpr"
310
+ },
311
+ {
312
+ "include": "#Expression"
313
+ }
314
+ ]
315
+ },
316
+ {
317
+ "begin": "\\b((un)?set)\\b",
318
+ "beginCaptures": {
319
+ "1": {
320
+ "name": "keyword.other.command.gnuplot"
321
+ }
322
+ },
323
+ "end": "(?=(;|#|\\\\(?!\\n)|(?<!\\\\)\\n$))",
324
+ "patterns": [
325
+ {
326
+ "include": "#SetUnsetOptions"
327
+ },
328
+ {
329
+ "include": "#ForIterationExpr"
330
+ },
331
+ {
332
+ "include": "#Expression"
333
+ }
334
+ ]
335
+ },
336
+ {
337
+ "begin": "\\b(show)\\b",
338
+ "beginCaptures": {
339
+ "1": {
340
+ "name": "keyword.other.command.gnuplot"
341
+ }
342
+ },
343
+ "end": "(?=(;|#|\\\\(?!\\n)|(?<!\\\\)\\n$))",
344
+ "patterns": [
345
+ {
346
+ "include": "#ExtraShowOptions"
347
+ },
348
+ {
349
+ "include": "#SetUnsetOptions"
350
+ },
351
+ {
352
+ "include": "#Expression"
353
+ }
354
+ ]
355
+ },
356
+ {
357
+ "begin": "\\b(fit|(s)?plot)\\b",
358
+ "beginCaptures": {
359
+ "1": {
360
+ "name": "keyword.other.command.gnuplot"
361
+ }
362
+ },
363
+ "end": "(?=(;|#|\\\\(?!\\n)|(?<!\\\\)\\n$))",
364
+ "patterns": [
365
+ {
366
+ "include": "#ColumnIndexLiteral"
367
+ },
368
+ {
369
+ "include": "#PlotModifiers"
370
+ },
371
+ {
372
+ "include": "#ForIterationExpr"
373
+ },
374
+ {
375
+ "include": "#Expression"
376
+ }
377
+ ]
378
+ }
379
+ ]
380
+ },
381
+ "DataBlock": {
382
+ "begin": "(?x:\n\t\t\t\t([$][A-Za-z_]\\w*)\\s* # 1: var name\n\t\t\t\t(<<)\\s* # 2: shift operator\n\t\t\t\t([A-Za-z_]\\w*)\\s* # 3: end tag\n\t\t\t\t(?=(\\#|$)) # 4: comment or end of line\n\t\t\t)",
383
+ "beginCaptures": {
384
+ "1": {
385
+ "patterns": [
386
+ {
387
+ "include": "#SpecialVariable"
388
+ }
389
+ ]
390
+ },
391
+ "3": {
392
+ "name": "constant.language.datablock.gnuplot"
393
+ }
394
+ },
395
+ "end": "^(\\3)\\b(.*)",
396
+ "endCaptures": {
397
+ "1": {
398
+ "name": "constant.language.datablock.gnuplot"
399
+ },
400
+ "2": {
401
+ "name": "invalid.illegal.datablock.gnuplot"
402
+ }
403
+ },
404
+ "name": "meta.datablock.gnuplot",
405
+ "patterns": [
406
+ {
407
+ "include": "#LineComment"
408
+ },
409
+ {
410
+ "include": "#NumberLiteral"
411
+ },
412
+ {
413
+ "include": "#DoubleQuotedStringLiteral"
414
+ }
415
+ ]
416
+ },
417
+ "DeprecatedScriptArgsLiteral": {
418
+ "match": "([$][0-9#])",
419
+ "name": "invalid.illegal.scriptargs.gnuplot"
420
+ },
421
+ "DoubleQuotedStringLiteral": {
422
+ "begin": "(\")",
423
+ "beginCaptures": {
424
+ "1": {
425
+ "name": "punctuation.definition.string.begin.gnuplot"
426
+ }
427
+ },
428
+ "end": "((\")|(?=(?<!\\\\)\\n$))",
429
+ "endCaptures": {
430
+ "0": {
431
+ "name": "punctuation.definition.string.end.gnuplot"
432
+ }
433
+ },
434
+ "name": "string.quoted.double.gnuplot",
435
+ "patterns": [
436
+ {
437
+ "include": "#EscapedChar"
438
+ },
439
+ {
440
+ "include": "#RGBColorSpec"
441
+ },
442
+ {
443
+ "include": "#DeprecatedScriptArgsLiteral"
444
+ },
445
+ {
446
+ "include": "#InterpolatedStringLiteral"
447
+ }
448
+ ]
449
+ },
450
+ "EscapedChar": {
451
+ "match": "(\\\\.)",
452
+ "name": "constant.character.escape.gnuplot"
453
+ },
454
+ "Expression": {
455
+ "patterns": [
456
+ {
457
+ "include": "#Literal"
458
+ },
459
+ {
460
+ "include": "#SpecialVariable"
461
+ },
462
+ {
463
+ "include": "#BuiltinVariable"
464
+ },
465
+ {
466
+ "include": "#BuiltinOperator"
467
+ },
468
+ {
469
+ "include": "#TernaryExpr"
470
+ },
471
+ {
472
+ "include": "#FunctionCallExpr"
473
+ },
474
+ {
475
+ "include": "#SummationExpr"
476
+ }
477
+ ]
478
+ },
479
+ "ExtraShowOptions": {
480
+ "match": "\\b(?x:\n\t\t\t\tall |\n\t\t\t\tbind |\n\t\t\t\tcolornames |\n\t\t\t\tfunctions |\n\t\t\t\tplot |\n\t\t\t\tvariables |\n\t\t\t\tversion\n\t\t\t)\\b",
481
+ "name": "support.class.options.gnuplot"
482
+ },
483
+ "ForIterationExpr": {
484
+ "begin": "\\b(?x:\n\t\t\t\t(for)\\s* # 1: for keyword\n\t\t\t\t(\\[)\\s* # 2: opening bracket\n\t\t\t\t(?: # optionally\n\t\t\t\t\t([A-Za-z_]\\w*)\\s+ # 3: var name\n\t\t\t\t\t(in)\\b # 4: in keyword\n\t\t\t\t)?\n\t\t\t)",
485
+ "beginCaptures": {
486
+ "1": {
487
+ "name": "keyword.control.flow.gnuplot"
488
+ },
489
+ "2": {
490
+ "patterns": [
491
+ {
492
+ "include": "#RangeSeparators"
493
+ }
494
+ ]
495
+ },
496
+ "3": {
497
+ "name": "variable.other.iterator.gnuplot"
498
+ },
499
+ "4": {
500
+ "name": "keyword.control.flow.gnuplot"
501
+ }
502
+ },
503
+ "end": "((\\])|(?=(#|\\\\(?!\\n)|(?<!\\\\)\\n$)))",
504
+ "endCaptures": {
505
+ "2": {
506
+ "patterns": [
507
+ {
508
+ "include": "#RangeSeparators"
509
+ }
510
+ ]
511
+ }
512
+ },
513
+ "patterns": [
514
+ {
515
+ "include": "#Expression"
516
+ },
517
+ {
518
+ "include": "#RangeSeparators"
519
+ }
520
+ ]
521
+ },
522
+ "FunctionCallExpr": {
523
+ "begin": "\\b([A-Za-z_]\\w*)\\s*(\\()",
524
+ "beginCaptures": {
525
+ "1": {
526
+ "name": "variable.function.gnuplot",
527
+ "patterns": [
528
+ {
529
+ "include": "#BuiltinFunction"
530
+ }
531
+ ]
532
+ },
533
+ "2": {
534
+ "name": "punctuation.definition.arguments.begin.gnuplot"
535
+ }
536
+ },
537
+ "end": "((\\))|(?=(#|\\\\(?!\\n)|(?<!\\\\)\\n$)))",
538
+ "endCaptures": {
539
+ "2": {
540
+ "name": "punctuation.definition.arguments.end.gnuplot"
541
+ }
542
+ },
543
+ "name": "meta.function-call.gnuplot",
544
+ "patterns": [
545
+ {
546
+ "include": "#Expression"
547
+ }
548
+ ]
549
+ },
550
+ "FunctionDecl": {
551
+ "begin": "\\b(?x:\n\t\t\t\t([A-Za-z_]\\w*)\\s* # 1: func name\n\t\t\t\t( # 2: parameter list\n\t\t\t\t\t(\\()\\s* # 3: opening parens\n\t\t\t\t\t([A-Za-z_]\\w*)\\s* # 4: arg name\n\t\t\t\t\t(?:\n\t\t\t\t\t\t(,)\\s* # 5: comma\n\t\t\t\t\t\t([A-Za-z_]\\w*)\\s* # 6: other args\n\t\t\t\t\t)*\n\t\t\t\t\t(\\)) # 7: closing parens\n\t\t\t\t)\n\t\t\t)",
552
+ "beginCaptures": {
553
+ "1": {
554
+ "name": "entity.name.function.gnuplot",
555
+ "patterns": [
556
+ {
557
+ "include": "#BuiltinFunction"
558
+ }
559
+ ]
560
+ },
561
+ "2": {
562
+ "name": "meta.function.parameters.gnuplot"
563
+ },
564
+ "3": {
565
+ "name": "punctuation.definition.parameters.begin.gnuplot"
566
+ },
567
+ "4": {
568
+ "name": "variable.parameter.function.language.gnuplot"
569
+ },
570
+ "5": {
571
+ "name": "punctuation.separator.parameters.gnuplot"
572
+ },
573
+ "6": {
574
+ "name": "variable.parameter.function.language.gnuplot"
575
+ },
576
+ "7": {
577
+ "name": "punctuation.definition.parameters.end.gnuplot"
578
+ }
579
+ },
580
+ "end": "(?=(;|#|\\\\(?!\\n)|(?<!\\\\)\\n$))",
581
+ "name": "meta.function.gnuplot",
582
+ "patterns": [
583
+ {
584
+ "include": "#Expression"
585
+ }
586
+ ]
587
+ },
588
+ "InterpolatedStringLiteral": {
589
+ "begin": "(`)",
590
+ "beginCaptures": {
591
+ "1": {
592
+ "name": "punctuation.definition.string.begin.gnuplot"
593
+ }
594
+ },
595
+ "end": "((`)|(?=(?<!\\\\)\\n$))",
596
+ "endCaptures": {
597
+ "0": {
598
+ "name": "punctuation.definition.string.end.gnuplot"
599
+ }
600
+ },
601
+ "name": "string.interpolated.gnuplot",
602
+ "patterns": [
603
+ {
604
+ "include": "#EscapedChar"
605
+ }
606
+ ]
607
+ },
608
+ "InvalidVariableDecl": {
609
+ "match": "\\b(GPVAL_\\w*|MOUSE_\\w*)\\b",
610
+ "name": "invalid.illegal.variable.gnuplot"
611
+ },
612
+ "InvalidWord": {
613
+ "match": "([^;#\\\\[:space:]]+)",
614
+ "name": "invalid.illegal.gnuplot"
615
+ },
616
+ "LineComment": {
617
+ "begin": "(#)",
618
+ "beginCaptures": {
619
+ "1": {
620
+ "name": "punctuation.definition.comment.begin.gnuplot"
621
+ }
622
+ },
623
+ "end": "(?=(?<!\\\\)\\n$)",
624
+ "endCaptures": {
625
+ "0": {
626
+ "name": "punctuation.definition.comment.end.gnuplot"
627
+ }
628
+ },
629
+ "name": "comment.line.number-sign.gnuplot"
630
+ },
631
+ "Literal": {
632
+ "patterns": [
633
+ {
634
+ "include": "#NumberLiteral"
635
+ },
636
+ {
637
+ "include": "#DeprecatedScriptArgsLiteral"
638
+ },
639
+ {
640
+ "include": "#SingleQuotedStringLiteral"
641
+ },
642
+ {
643
+ "include": "#DoubleQuotedStringLiteral"
644
+ },
645
+ {
646
+ "include": "#InterpolatedStringLiteral"
647
+ }
648
+ ]
649
+ },
650
+ "MacroExpansion": {
651
+ "begin": "([@][A-Za-z_]\\w*)",
652
+ "beginCaptures": {
653
+ "1": {
654
+ "patterns": [
655
+ {
656
+ "include": "#SpecialVariable"
657
+ }
658
+ ]
659
+ }
660
+ },
661
+ "end": "(?=(;|#|\\\\(?!\\n)|(?<!\\\\)\\n$))",
662
+ "patterns": [
663
+ {
664
+ "include": "#Expression"
665
+ }
666
+ ]
667
+ },
668
+ "NumberLiteral": {
669
+ "patterns": [
670
+ {
671
+ "match": "(?x:\n\t\t\t\t\t\t# .5e2 and 0.5e2\n\t\t\t\t\t\t( ((\\b[0-9]+)|(?<!\\d)) ) # number or not a preceding digit\n\t\t\t\t\t\t( [.][0-9]+ ) # non-optional fractional\n\t\t\t\t\t\t( [Ee][+-]?[0-9]+ )? # optional exponent\n\t\t\t\t\t)(cm|in)?\\b",
672
+ "name": "constant.numeric.float.gnuplot"
673
+ },
674
+ {
675
+ "match": "(?x:\n\t\t\t\t\t\t# 5e2 and 5.e2\n\t\t\t\t\t\t( \\b[0-9]+ ) # non-optional number\n\t\t\t\t\t\t(\n\t\t\t\t\t\t\t( ( [Ee][+-]?[0-9]+\\b ) ) | # non-optional exponent\n\t\t\t\t\t\t\t( [.] ( [Ee][+-]?[0-9]+\\b )? ) # point and optional exponent\n\t\t\t\t\t\t)\n\t\t\t\t\t)(cm\\b|in\\b)?",
676
+ "name": "constant.numeric.float.gnuplot"
677
+ },
678
+ {
679
+ "match": "\\b(0[Xx][0-9a-fA-F]+)(cm|in)?\\b",
680
+ "name": "constant.numeric.hex.gnuplot"
681
+ },
682
+ {
683
+ "match": "\\b(0+)(cm|in)?\\b",
684
+ "name": "constant.numeric.dec.gnuplot"
685
+ },
686
+ {
687
+ "match": "\\b(0[0-7]+)(cm|in)?\\b",
688
+ "name": "constant.numeric.oct.gnuplot"
689
+ },
690
+ {
691
+ "match": "\\b(0[0-9]+)(cm|in)?\\b",
692
+ "name": "invalid.illegal.oct.gnuplot"
693
+ },
694
+ {
695
+ "match": "\\b([0-9]+)(cm|in)?\\b",
696
+ "name": "constant.numeric.dec.gnuplot"
697
+ }
698
+ ]
699
+ },
700
+ "PlotModifiers": {
701
+ "patterns": [
702
+ {
703
+ "match": "\\b(thru)\\b",
704
+ "name": "invalid.deprecated.plot.gnuplot"
705
+ },
706
+ {
707
+ "match": "\\b(?x:\n\t\t\t\t\t\tin(dex)? |\n\t\t\t\t\t\tevery |\n\t\t\t\t\t\tus(ing)? |\n\t\t\t\t\t\twi(th)? |\n\t\t\t\t\t\tvia\n\t\t\t\t\t)\\b",
708
+ "name": "storage.type.plot.gnuplot"
709
+ },
710
+ {
711
+ "match": "\\b(newhist(ogram)?)\\b",
712
+ "name": "storage.type.plot.gnuplot"
713
+ }
714
+ ]
715
+ },
716
+ "RGBColorSpec": {
717
+ "match": "\\G(0x|#)(([0-9a-fA-F]{6})|([0-9a-fA-F]{8}))\\b",
718
+ "name": "constant.other.placeholder.gnuplot"
719
+ },
720
+ "RangeSeparators": {
721
+ "patterns": [
722
+ {
723
+ "match": "(\\[)",
724
+ "name": "punctuation.section.brackets.begin.gnuplot"
725
+ },
726
+ {
727
+ "match": "(:)",
728
+ "name": "punctuation.separator.range.gnuplot"
729
+ },
730
+ {
731
+ "match": "(\\])",
732
+ "name": "punctuation.section.brackets.end.gnuplot"
733
+ }
734
+ ]
735
+ },
736
+ "SetUnsetOptions": {
737
+ "patterns": [
738
+ {
739
+ "match": "\\G\\s*\\b(?x:\n\t\t\t\t\t\tclabel |\n\t\t\t\t\t\tdata |\n\t\t\t\t\t\tfunction |\n\t\t\t\t\t\thistorysize |\n\t\t\t\t\t\tmacros |\n\t\t\t\t\t\tticslevel |\n\t\t\t\t\t\tticscale |\n\t\t\t\t\t\t(style\\s+increment\\s+\\w+)\n\t\t\t\t\t)\\b",
740
+ "name": "invalid.deprecated.options.gnuplot"
741
+ },
742
+ {
743
+ "match": "\\G\\s*\\b(?x:\n\t\t\t\t\t\tangles |\n\t\t\t\t\t\tarrow |\n\t\t\t\t\t\tautoscale |\n\t\t\t\t\t\tborder |\n\t\t\t\t\t\tboxwidth |\n\t\t\t\t\t\tclip |\n\t\t\t\t\t\tcntr(label|param) |\n\t\t\t\t\t\tcolor(box|sequence)?|\n\t\t\t\t\t\tcontour |\n\t\t\t\t\t\t(dash|line)type |\n\t\t\t\t\t\tdatafile |\n\t\t\t\t\t\tdecimal(sign)? |\n\t\t\t\t\t\tdgrid3d |\n\t\t\t\t\t\tdummy |\n\t\t\t\t\t\tencoding |\n\t\t\t\t\t\t(error)?bars |\n\t\t\t\t\t\tfit |\n\t\t\t\t\t\tfontpath |\n\t\t\t\t\t\tformat |\n\t\t\t\t\t\tgrid |\n\t\t\t\t\t\thidden3d |\n\t\t\t\t\t\thistory |\n\t\t\t\t\t\t(iso)?samples |\n\t\t\t\t\t\tjitter |\n\t\t\t\t\t\tkey |\n\t\t\t\t\t\tlabel |\n\t\t\t\t\t\tlink |\n\t\t\t\t\t\tloadpath |\n\t\t\t\t\t\tlocale |\n\t\t\t\t\t\tlogscale |\n\t\t\t\t\t\tmapping |\n\t\t\t\t\t\t[lrtb]margin |\n\t\t\t\t\t\tmargins |\n\t\t\t\t\t\tmicro |\n\t\t\t\t\t\tminus(sign)? |\n\t\t\t\t\t\tmono(chrome)? |\n\t\t\t\t\t\tmouse |\n\t\t\t\t\t\tmultiplot |\n\t\t\t\t\t\tnonlinear |\n\t\t\t\t\t\tobject |\n\t\t\t\t\t\toffsets |\n\t\t\t\t\t\torigin |\n\t\t\t\t\t\toutput |\n\t\t\t\t\t\tparametric |\n\t\t\t\t\t\t(p|r)axis |\n\t\t\t\t\t\tpm3d |\n\t\t\t\t\t\tpalette |\n\t\t\t\t\t\tpointintervalbox |\n\t\t\t\t\t\tpointsize |\n\t\t\t\t\t\tpolar |\n\t\t\t\t\t\tprint |\n\t\t\t\t\t\tpsdir |\n\t\t\t\t\t\tsize |\n\t\t\t\t\t\tstyle |\n\t\t\t\t\t\tsurface |\n\t\t\t\t\t\ttable |\n\t\t\t\t\t\tterminal |\n\t\t\t\t\t\ttermoption |\n\t\t\t\t\t\ttheta |\n\t\t\t\t\t\ttics |\n\t\t\t\t\t\ttimestamp |\n\t\t\t\t\t\ttimefmt |\n\t\t\t\t\t\ttitle |\n\t\t\t\t\t\tview |\n\t\t\t\t\t\txyplane |\n\t\t\t\t\t\tzero |\n\t\t\t\t\t\t(no)?(m)?(x|x2|y|y2|z|cb|r|t)tics |\n\t\t\t\t\t\t(x|x2|y|y2|z|cb)data |\n\t\t\t\t\t\t(x|x2|y|y2|z|cb|r)label |\n\t\t\t\t\t\t(x|x2|y|y2|z|cb)dtics |\n\t\t\t\t\t\t(x|x2|y|y2|z|cb)mtics |\n\t\t\t\t\t\t(x|x2|y|y2|z|cb|[rtuv])range |\n\t\t\t\t\t\t(x|x2|y|y2|z)?zeroaxis\n\t\t\t\t\t)\\b",
744
+ "name": "support.class.options.gnuplot"
745
+ }
746
+ ]
747
+ },
748
+ "ShellCommand": {
749
+ "begin": "(!)",
750
+ "beginCaptures": {
751
+ "1": {
752
+ "name": "keyword.other.shell.gnuplot"
753
+ }
754
+ },
755
+ "end": "(?=(#|\\\\(?!\\n)|(?<!\\\\)\\n$))",
756
+ "patterns": [
757
+ {
758
+ "match": "([^#]|\\\\(?=\\n))",
759
+ "name": "string.unquoted"
760
+ }
761
+ ]
762
+ },
763
+ "SingleQuotedStringLiteral": {
764
+ "begin": "(')",
765
+ "beginCaptures": {
766
+ "1": {
767
+ "name": "punctuation.definition.string.begin.gnuplot"
768
+ }
769
+ },
770
+ "end": "((')(?!')|(?=(?<!\\\\)\\n$))",
771
+ "endCaptures": {
772
+ "0": {
773
+ "name": "punctuation.definition.string.end.gnuplot"
774
+ }
775
+ },
776
+ "name": "string.quoted.single.gnuplot",
777
+ "patterns": [
778
+ {
779
+ "include": "#RGBColorSpec"
780
+ },
781
+ {
782
+ "match": "('')",
783
+ "name": "constant.character.escape.gnuplot"
784
+ }
785
+ ]
786
+ },
787
+ "SpecialVariable": {
788
+ "patterns": [
789
+ {
790
+ "captures": {
791
+ "1": {
792
+ "name": "constant.language.wildcard.gnuplot"
793
+ }
794
+ },
795
+ "match": "(?<=[\\[:=])\\s*(\\*)\\s*(?=[:\\]])"
796
+ },
797
+ {
798
+ "captures": {
799
+ "2": {
800
+ "name": "punctuation.definition.variable.gnuplot"
801
+ }
802
+ },
803
+ "match": "(([@$])[A-Za-z_]\\w*)\\b",
804
+ "name": "constant.language.special.gnuplot"
805
+ }
806
+ ]
807
+ },
808
+ "SummationExpr": {
809
+ "begin": "\\b(sum)\\s*(\\[)",
810
+ "beginCaptures": {
811
+ "1": {
812
+ "name": "keyword.other.sum.gnuplot"
813
+ },
814
+ "2": {
815
+ "patterns": [
816
+ {
817
+ "include": "#RangeSeparators"
818
+ }
819
+ ]
820
+ }
821
+ },
822
+ "end": "((\\])|(?=(#|\\\\(?!\\n)|(?<!\\\\)\\n$)))",
823
+ "endCaptures": {
824
+ "2": {
825
+ "patterns": [
826
+ {
827
+ "include": "#RangeSeparators"
828
+ }
829
+ ]
830
+ }
831
+ },
832
+ "patterns": [
833
+ {
834
+ "include": "#Expression"
835
+ },
836
+ {
837
+ "include": "#RangeSeparators"
838
+ }
839
+ ]
840
+ },
841
+ "TernaryExpr": {
842
+ "begin": "(?<!\\?)(\\?)(?!\\?)",
843
+ "beginCaptures": {
844
+ "1": {
845
+ "name": "keyword.operator.ternary.gnuplot"
846
+ }
847
+ },
848
+ "end": "((?<!:)(:)(?!:)|(?=(#|\\\\(?!\\n)|(?<!\\\\)\\n$)))",
849
+ "endCaptures": {
850
+ "2": {
851
+ "name": "keyword.operator.ternary.gnuplot"
852
+ }
853
+ },
854
+ "patterns": [
855
+ {
856
+ "include": "#Expression"
857
+ }
858
+ ]
859
+ },
860
+ "VariableDecl": {
861
+ "begin": "\\b(?x:\n\t\t\t\t([A-Za-z_]\\w*)\\s* # 1: var name\n\t\t\t\t(?:\n\t\t\t\t\t(\\[)\\s* # 2: opening bracket\n\t\t\t\t\t(.*)\\s* # 3: expression\n\t\t\t\t\t(\\])\\s* # 4: closing bracket\n\t\t\t\t)?\n\t\t\t\t(?=(=)(?!\\s*=)) # 5: assignment\n\t\t\t)",
862
+ "beginCaptures": {
863
+ "1": {
864
+ "name": "entity.name.variable.gnuplot",
865
+ "patterns": [
866
+ {
867
+ "include": "#InvalidVariableDecl"
868
+ },
869
+ {
870
+ "include": "#BuiltinVariable"
871
+ }
872
+ ]
873
+ },
874
+ "3": {
875
+ "patterns": [
876
+ {
877
+ "include": "#Expression"
878
+ }
879
+ ]
880
+ }
881
+ },
882
+ "end": "(?=(;|#|\\\\(?!\\n)|(?<!\\\\)\\n$))",
883
+ "name": "meta.variable.gnuplot",
884
+ "patterns": [
885
+ {
886
+ "include": "#Expression"
887
+ }
888
+ ]
889
+ }
890
+ },
891
+ "scopeName": "source.gnuplot"
892
+ }