Skip to content

Commit

Permalink
add: Nujucks language
Browse files Browse the repository at this point in the history
  • Loading branch information
hhatto committed Mar 5, 2021
1 parent c354440 commit b88980d
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 @@ -186,6 +186,7 @@ var Exts = map[string]string{
"m4": "M4",
"l": "lex",
"nim": "Nim",
"njk": "Nujucks",
"php": "PHP",
"pas": "Pascal",
"PL": "Perl",
Expand Down Expand Up @@ -512,6 +513,7 @@ func NewDefinedLanguages() *DefinedLanguages {
"Mustache": NewLanguage("Mustache", []string{}, [][]string{{"{{!", "}}"}}),
"M4": NewLanguage("M4", []string{"#"}, [][]string{{"", ""}}),
"Nim": NewLanguage("Nim", []string{"#"}, [][]string{{"#[", "]#"}}),
"Nunjucks": NewLanguage("Nunjucks", []string{"{#"}, [][]string{{"{#", "#}"}, {"<!--", "-->"}}),
"lex": NewLanguage("lex", []string{}, [][]string{{"/*", "*/"}}),
"PHP": NewLanguage("PHP", []string{"#", "//"}, [][]string{{"/*", "*/"}}),
"Pascal": NewLanguage("Pascal", []string{"//"}, [][]string{{"{", ")"}}),
Expand Down

0 comments on commit b88980d

Please sign in to comment.