Skip to content

Commit

Permalink
Add support for Rego (OPA) policy language
Browse files Browse the repository at this point in the history
  • Loading branch information
James Alseth committed Sep 1, 2020
1 parent b36d371 commit 43809c2
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 @@ -206,6 +206,7 @@ var Exts = map[string]string{
"raml": "RAML",
"Rebol": "Rebol",
"red": "Red",
"rego": "Rego",
"Rmd": "RMarkdown",
"rake": "Ruby",
"rb": "Ruby",
Expand Down Expand Up @@ -521,6 +522,7 @@ func NewDefinedLanguages() *DefinedLanguages {
"R": NewLanguage("R", []string{"#"}, [][]string{{"", ""}}),
"Rebol": NewLanguage("Rebol", []string{";"}, [][]string{{"", ""}}),
"Red": NewLanguage("Red", []string{";"}, [][]string{{"", ""}}),
"Rego": NewLanguage("Rego", []string{"#"}, [][]string{{"", ""}}),
"RMarkdown": NewLanguage("RMarkdown", []string{}, [][]string{{"", ""}}),
"RAML": NewLanguage("RAML", []string{"#"}, [][]string{{"", ""}}),
"Racket": NewLanguage("Racket", []string{";"}, [][]string{{"#|", "|#"}}),
Expand Down

0 comments on commit 43809c2

Please sign in to comment.