Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Signed-off-by: Timon Wong <timon86.wang@gmail.com>
  • Loading branch information
timonwong committed Oct 21, 2022
1 parent df91f4d commit 0dc0fb4
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions languages/shellcheck-output/tmLanguage.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
{
"include": "#string-double-quoted"
},
{
"include": "#filepath"
},
{
"include": "#datetime-RFC3339"
},
Expand All @@ -30,6 +33,15 @@
},
{
"include": "#numeric-decimal"
},
{
"include": "#constants"
},
{
"include": "#exception"
},
{
"include": "#exception-stack"
}
],
"repository": {
Expand All @@ -41,6 +53,10 @@
"match": "'(.*?)'",
"name": "string.quoted"
},
"filepath": {
"match": "(([a-zA-Z]:)|((\\\\|/){1,2}\\w+)\\$?)((\\\\|/)(\\w[\\w ]*.*))+\\.([a-zA-Z0-9]+)",
"name": "markup.underline.link"
},
"datetime-RFC3339": {
"match": "\\b(\\d{4}-\\d{2}-\\d{2})T(\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?)(Z|[\\+-]\\d{2}:\\d{2})?",
"name": "constant.numeric"
Expand Down Expand Up @@ -72,6 +88,18 @@
"numeric-decimal": {
"match": "\\b\\d+(\\.\\d+)?\\b",
"name": "constant.numeric"
},
"constants": {
"match": "\\b(true|false|null|undefined|NaN)\\b",
"name": "constant.language"
},
"exception": {
"match": "\\b(Exception|Error|Failure|Fail|EXCEPTION|ERROR|FAILURE|FAIL):?\\b.*$",
"name": "invalid"
},
"exception-stack": {
"match": "^[\\t ]*at.+$",
"name": "invalid"
}
}
}

0 comments on commit 0dc0fb4

Please sign in to comment.