|
4 | 4 | "If you want to provide a fix or improvement, please create a pull request against the original repository.", |
5 | 5 | "Once accepted there, we are happy to receive an update request." |
6 | 6 | ], |
7 | | - "version": "https://github.com/Ikuyadeu/vscode-R/commit/b4fdb1db24cdd690e88bc2bbb7f608426e63da67", |
| 7 | + "version": "https://github.com/Ikuyadeu/vscode-R/commit/0ad8c770ea3836b15bc121fff4161a794d3deeaa", |
8 | 8 | "fileTypes": [ |
9 | 9 | "R", |
10 | 10 | "r", |
|
281 | 281 | "name": "punctuation.section.brackets.single.begin.r" |
282 | 282 | } |
283 | 283 | }, |
284 | | - "end": "\\](?!\\])", |
| 284 | + "end": "\\]", |
285 | 285 | "endCaptures": { |
286 | 286 | "0": { |
287 | 287 | "name": "punctuation.section.brackets.single.end.r" |
|
381 | 381 | "contentName": "meta.function.parameters.r", |
382 | 382 | "patterns": [ |
383 | 383 | { |
384 | | - "match": "[a-zA-Z._][a-zA-Z0-9._]*", |
| 384 | + "include": "#comments" |
| 385 | + }, |
| 386 | + { |
| 387 | + "match": "(?:[a-zA-Z._][a-zA-Z0-9._]*|`[^`]+`)", |
385 | 388 | "name": "variable.parameter.r" |
386 | 389 | }, |
387 | 390 | { |
|
402 | 405 | ] |
403 | 406 | }, |
404 | 407 | "function-calls": { |
405 | | - "begin": "(?:\\b|(?=\\.))([a-zA-Z._][a-zA-Z0-9._]*)\\s*(\\()", |
| 408 | + "begin": "(?:\\b|(?=\\.))((?:[a-zA-Z._][a-zA-Z0-9._]*|`[^`]+`))\\s*(\\()", |
406 | 409 | "beginCaptures": { |
407 | 410 | "1": { |
408 | 411 | "name": "variable.function.r" |
|
432 | 435 | "contentName": "meta.function-call.parameters.r" |
433 | 436 | }, |
434 | 437 | { |
435 | | - "match": "[a-zA-Z._][a-zA-Z0-9._]*(?=\\s[^=])", |
| 438 | + "match": "(?:[a-zA-Z._][a-zA-Z0-9._]*|`[^`]+`)(?=\\s[^=])", |
436 | 439 | "name": "variable.parameter.r" |
437 | 440 | }, |
438 | 441 | { |
|
480 | 483 | "name": "variable.parameter.r" |
481 | 484 | } |
482 | 485 | }, |
483 | | - "match": "(@param)\\s*([a-zA-Z._][a-zA-Z0-9._]*)" |
| 486 | + "match": "(@param)\\s*((?:[a-zA-Z._][a-zA-Z0-9._]*|`[^`]+`))" |
484 | 487 | }, |
485 | 488 | { |
486 | 489 | "match": "@[a-zA-Z0-9]+", |
|
0 commit comments