Skip to content

Commit

Permalink
Merge pull request #284 from istudyatuni/sveltejs
Browse files Browse the repository at this point in the history
Added svelte syntax
  • Loading branch information
boyter committed Sep 19, 2021
2 parents 8346ad4 + 3ecd5c4 commit dc3b05b
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 dc3b05b

Please sign in to comment.