Skip to content

Commit

Permalink
Create JS.ohf
Browse files Browse the repository at this point in the history
  • Loading branch information
Mistium authored Nov 30, 2024
1 parent 3c23664 commit 57460b8
Showing 1 changed file with 96 additions and 0 deletions.
96 changes: 96 additions & 0 deletions Other/OHF/JS.ohf
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
{
"manifest": {
"name": "js",
"version": "1",
"extensions": [
".js",
".jsx"
]
},
"parser": {
"type": "regex",
"data": "\"(?:[^\\\\\"]*|\\\\.)*(?:\\\"|$)|[()\\[\\]{}]|[^()\\[\\]{}\\W ]+|[ ;]|[^\\w; ]+"
},
"overrides": {
"origin.numbers": "#aa68bc",
"origin.strings": "#b89b64",
"origin.comments": "#555c67",
"origin.functions": "#98c379",
"origin.objects": "#5a9fd9"
},
"categories": {
"brackets": {
"color": "#ffd800",
"tokens": [
"}",
"{",
"]",
"[",
")",
"(",
"."
]
},
"main": {
"color": "#c76169",
"tokens": [
"var",
"import",
"export",
"from",
"return",
"for",
"if",
"switch",
"case",
"break",
"default",
"while",
"++",
"--",
"=",
"==",
"!=",
"===",
"!==",
"+=",
"-=",
"/=",
"*=",
"<=",
">=",
"<",
">",
"!",
"+",
"-",
"/",
"*",
"&&",
"||",
"^",
"|",
"&",
"=>",
">>",
"<<"
]
},
"data": {
"color": "#52aeb9",
"tokens": [
"const",
"let",
"function"
]
},
"booleans": {
"color": "#408088",
"tokens": [
"true",
"false",
"null"
]
}
}
}

0 comments on commit 57460b8

Please sign in to comment.