Skip to content

Commit

Permalink
add: Motoko lang
Browse files Browse the repository at this point in the history
  • Loading branch information
hhatto committed Mar 4, 2022
1 parent 620d0e2 commit f545efa
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 @@ -175,6 +175,7 @@ var Exts = map[string]string{
"Mercury": "Mercury", // use ext '.m'
"md": "Markdown",
"markdown": "Markdown",
"mo": "Motoko",
"nix": "Nix",
"nsi": "NSIS",
"nsh": "NSIS",
Expand Down Expand Up @@ -510,6 +511,7 @@ func NewDefinedLanguages() *DefinedLanguages {
"LESS": NewLanguage("LESS", []string{"//"}, [][]string{{"/*", "*/"}}),
"Objective-C": NewLanguage("Objective-C", []string{"//"}, [][]string{{"/*", "*/"}}),
"Markdown": NewLanguage("Markdown", []string{}, [][]string{{"", ""}}),
"Motoko": NewLanguage("Motoko", []string{"//"}, [][]string{{"/*", "*/"}}),
"Nix": NewLanguage("Nix", []string{"#"}, [][]string{{"/*", "*/"}}),
"NSIS": NewLanguage("NSIS", []string{"#", ";"}, [][]string{{"/*", "*/"}}),
"Nu": NewLanguage("Nu", []string{";", "#"}, [][]string{{"", ""}}),
Expand Down

0 comments on commit f545efa

Please sign in to comment.