Skip to content

Commit

Permalink
Added svelte syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
istudyatuni committed Sep 19, 2021
1 parent 8346ad4 commit 3ecd5c4
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 1 deletion.
1 change: 1 addition & 0 deletions LANGUAGES.md
Expand Up @@ -206,6 +206,7 @@ SRecode Template (srt)
Standard ML (SML) (sml)
Stata (do,ado)
Stylus (styl)
Svelte (svelte)
SVG (svg)
Swift (swift)
Swig (i)
Expand Down
37 changes: 37 additions & 0 deletions languages.json
Expand Up @@ -5825,6 +5825,43 @@
}
]
},
"Svelte": {
"complexitychecks": [
"for ",
"for(",
"if ",
"if(",
"switch ",
"while ",
"else ",
"|| ",
"&& ",
"!= ",
"== "
],
"extensions": [
"svelte"
],
"line_comment": [
"//"
],
"multi_line": [
[
"<!--",
"-->"
],
[
"/*",
"*/"
]
],
"quotes": [
{
"end": "\"",
"start": "\""
}
]
},
"Swift": {
"complexitychecks": [
"for ",
Expand Down
2 changes: 1 addition & 1 deletion processor/constants.go

Large diffs are not rendered by default.

0 comments on commit 3ecd5c4

Please sign in to comment.