Update make grammar

This commit is contained in:
Alex Ross
2019-01-03 16:08:09 +01:00
parent 750ed368d2
commit 154ba178c2
3 changed files with 14 additions and 299 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/c6b3ae6e4f22e01fc483be5bb34a9682c28f3219",
"version": "https://github.com/fadeevab/make.tmbundle/commit/d01ce3404f9e2eed0fd4d07b5e24094c03599241",
"name": "Makefile",
"scopeName": "source.makefile",
"patterns": [
@@ -260,37 +260,6 @@
}
]
},
"shell-interpolation": {
"begin": "(?=`)",
"end": "(?!\\G)",
"name": "meta.embedded.line.shell",
"patterns": [
{
"begin": "`",
"beginCaptures": {
"0": {
"name": "punctuation.definition.string.makefile"
}
},
"contentName": "source.shell",
"end": "(`)",
"endCaptures": {
"0": {
"name": "punctuation.definition.string.makefile"
},
"1": {
"name": "source.shell"
}
},
"name": "string.interpolated.backtick.makefile",
"patterns": [
{
"include": "source.shell"
}
]
}
]
},
"target": {
"begin": "^(?!\\t)([^:]*)(:)(?!\\=)",
"beginCaptures": {
@@ -351,7 +320,12 @@
]
},
"recipe": {
"begin": "^\\t",
"begin": "^\\t([+-@]*)",
"beginCaptures": {
"1": {
"name": "keyword.control.$1.makefile"
}
},
"end": "[^\\\\]$",
"name": "meta.scope.recipe.makefile",
"patterns": [
@@ -361,9 +335,6 @@
},
{
"include": "#variables"
},
{
"include": "source.shell"
}
]
},
@@ -388,9 +359,6 @@
},
{
"include": "#variables"
},
{
"include": "#shell-interpolation"
}
]
},