Skip to content

Commit

Permalink
revamping language.json
Browse files Browse the repository at this point in the history
  • Loading branch information
Danfs64 committed May 9, 2022
1 parent dd8fe29 commit 7795c22
Showing 1 changed file with 21 additions and 21 deletions.
42 changes: 21 additions & 21 deletions syntaxes/hvm.tmLanguage.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
{
"$schema": "https://raw.githubusercontent.com/martinring/tmlanguage/master/tmlanguage.json",
"name": "HVM",
"scopeName": "source.hvm",
"patterns": [
{"include": "#comments"},
{"include": "#strings"},
{"include": "#keywords"},
{"include": "#constructors"},
{"include": "#operators"},
{"include": "#numerals"},
{"include": "#characters"}
{"include": "#literals"}
],
"repository": {
"keywords": {
Expand All @@ -23,27 +22,29 @@
}
]
},
"strings": {
"name": "string.quoted.double.hvm",
"begin": "\"",
"end": "\"",
"literals": {
"patterns": [
{
"name": "constant.character.escape.hvm",
"match": "\\\\."
"name": "constant.numeric.hvm",
"match": "\\b[0-9]+\\b"
},
{
"name": "string.quoted.single.hvm",
"match": "'.'"
},
{
"name": "string.quoted.double.hvm",
"begin": "\"",
"end": "\"",
"patterns": [
{
"name": "constant.character.escape.hvm",
"match": "\\\\."
}
]
}
]
},
"characters": {
"name": "string.quoted.single",
"match": "'.'"
},
"numerals": {
"patterns": [{
"name": "constant.numeric.hvm",
"match": "\\b[0-9]+\\b"
}]
},
"constructors": {
"patterns": [{
"name": "entity.name.function.hvm",
Expand Down Expand Up @@ -82,6 +83,5 @@
"match": "//.*$"
}]
}
},
"scopeName": "source.hvm"
}
}

0 comments on commit 7795c22

Please sign in to comment.