You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
61 lines
1.6 KiB
JSON
61 lines
1.6 KiB
JSON
3 years ago
|
{
|
||
|
"aliases": [
|
||
|
"docker"
|
||
|
],
|
||
|
"case_insensitive": true,
|
||
|
"keywords": "from maintainer expose env arg user onbuild stopsignal",
|
||
|
"contains": [
|
||
|
{
|
||
|
"className": "comment",
|
||
|
"begin": "#",
|
||
|
"end": "$",
|
||
|
"contains": [
|
||
|
{
|
||
|
"begin": "\\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\\b"
|
||
|
},
|
||
|
{
|
||
|
"className": "doctag",
|
||
|
"begin": "(?:TODO|FIXME|NOTE|BUG|XXX):",
|
||
|
"relevance": 0
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"className": "string",
|
||
|
"begin": "'",
|
||
|
"end": "'",
|
||
|
"illegal": "\\n",
|
||
|
"contains": [
|
||
|
{
|
||
|
"begin": "\\\\[\\s\\S]",
|
||
|
"relevance": 0
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"className": "string",
|
||
|
"begin": "\"",
|
||
|
"end": "\"",
|
||
|
"illegal": "\\n",
|
||
|
"contains": [
|
||
|
{
|
||
|
"$ref": "#contains.1.contains.0"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"className": "number",
|
||
|
"begin": "\\b\\d+(\\.\\d+)?",
|
||
|
"relevance": 0
|
||
|
},
|
||
|
{
|
||
|
"beginKeywords": "run cmd entrypoint volume add copy workdir label healthcheck shell",
|
||
|
"starts": {
|
||
|
"end": "[^\\\\]$",
|
||
|
"subLanguage": "bash"
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"illegal": "<\/"
|
||
|
}
|