Makefile test case about the bug fix with "@,-,+" colorizing in the recipe (#72265)

Bug: regex [@-+] means "from @ to +", so "." and "\" was also colorized.
Bug is fixed in make.tmbundle, test case is added to vscode.
Update make grammar
This commit is contained in:
Alexandr Fadeev
2019-04-16 12:41:37 +03:00
committed by Alex Ross
parent 016921a4d2
commit 6b7c8f3d77
4 changed files with 37 additions and 3 deletions

View File

@@ -4,7 +4,7 @@
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
"Once accepted there, we are happy to receive an update request."
],
"version": "https://github.com/fadeevab/make.tmbundle/commit/21e9108e9dce13b798667806bb105d852ac0a58c",
"version": "https://github.com/fadeevab/make.tmbundle/commit/bd71f44ea55d61be711bd7676e600a7333cc79ea",
"name": "Makefile",
"scopeName": "source.makefile",
"patterns": [
@@ -320,7 +320,7 @@
]
},
"recipe": {
"begin": "^\\t([+-@]*)",
"begin": "^\\t([+\\-@]*)",
"beginCaptures": {
"1": {
"name": "keyword.control.$1.makefile"