Skip to content

Commit

Permalink
Merge pull request #401 from tsnobip/master
Browse files Browse the repository at this point in the history
add support for ReScript
  • Loading branch information
boyter committed Aug 1, 2023
2 parents 7217810 + 7c6b6f6 commit e225629
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 2 deletions.
1 change: 1 addition & 0 deletions LANGUAGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ Raku (raku,rakumod,rakutest,rakudoc,t)
Razor (cshtml,razor)
ReasonML (re,rei)
Report Definition Language (rdl)
ReScript (res,resi)
ReStructuredText (rst)
Robot Framework (robot)
Ruby (rb)
Expand Down
35 changes: 35 additions & 0 deletions languages.json
Original file line number Diff line number Diff line change
Expand Up @@ -5892,6 +5892,41 @@
],
"quotes": []
},
"ReScript": {
"complexitychecks": [
"for ",
"for(",
"if ",
"if(",
"switch ",
"while ",
"else ",
"|| ",
"&& ",
"!= ",
"== ",
"=== "
],
"extensions": [
"res",
"resi"
],
"line_comment": [
"//"
],
"multi_line": [
[
"/*",
"*/"
]
],
"quotes": [
{
"end": "\"",
"start": "\""
}
]
},
"ReStructuredText": {
"complexitychecks": [],
"extensions": [
Expand Down
4 changes: 2 additions & 2 deletions processor/constants.go

Large diffs are not rendered by default.

0 comments on commit e225629

Please sign in to comment.