Skip to content

Commit

Permalink
add Svelte lang
Browse files Browse the repository at this point in the history
  • Loading branch information
hhatto committed Sep 24, 2020
1 parent b2b1ff2 commit e97e2c7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions language.go
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@ var Exts = map[string]string{
"sml": "Standard ML",
"sol": "Solidity",
"sql": "SQL",
"svelte": "Svelte",
"swift": "Swift",
"t": "Terra",
"tex": "TeX",
Expand Down Expand Up @@ -540,6 +541,7 @@ func NewDefinedLanguages() *DefinedLanguages {
"Bourne Shell": NewLanguage("Bourne Shell", []string{"#"}, [][]string{{"", ""}}),
"Standard ML": NewLanguage("Standard ML", []string{}, [][]string{{"(*", "*)"}}),
"SQL": NewLanguage("SQL", []string{"--"}, [][]string{{"/*", "*/"}}),
"Svelte": NewLanguage("Svelte", []string{"//"}, [][]string{{"/*", "*/"}, {"<!--", "-->"}}),
"Swift": NewLanguage("Swift", []string{"//"}, [][]string{{"/*", "*/"}}),
"Terra": NewLanguage("Terra", []string{"--"}, [][]string{{"--[[", "]]"}}),
"TeX": NewLanguage("TeX", []string{"%"}, [][]string{{"", ""}}),
Expand Down

0 comments on commit e97e2c7

Please sign in to comment.