Skip to content

Commit

Permalink
add: Ohm lang
Browse files Browse the repository at this point in the history
  • Loading branch information
hhatto committed Mar 28, 2021
1 parent 82da1cf commit b2dad38
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 @@ -188,6 +188,7 @@ var Exts = map[string]string{
"l": "lex",
"nim": "Nim",
"njk": "Nunjucks",
"ohm": "Ohm",
"php": "PHP",
"pas": "Pascal",
"PL": "Perl",
Expand Down Expand Up @@ -517,6 +518,7 @@ func NewDefinedLanguages() *DefinedLanguages {
"Nim": NewLanguage("Nim", []string{"#"}, [][]string{{"#[", "]#"}}),
"Nunjucks": NewLanguage("Nunjucks", []string{}, [][]string{{"{#", "#}"}, {"<!--", "-->"}}),
"lex": NewLanguage("lex", []string{}, [][]string{{"/*", "*/"}}),
"Ohm": NewLanguage("Ohm", []string{"//"}, [][]string{{"/*", "*/"}}),
"PHP": NewLanguage("PHP", []string{"#", "//"}, [][]string{{"/*", "*/"}}),
"Pascal": NewLanguage("Pascal", []string{"//"}, [][]string{{"{", ")"}}),
"Perl": NewLanguage("Perl", []string{"#"}, [][]string{{":=", ":=cut"}}),
Expand Down

0 comments on commit b2dad38

Please sign in to comment.