Skip to content

Commit

Permalink
support Cap'n Proto
Browse files Browse the repository at this point in the history
  • Loading branch information
hhatto committed Apr 25, 2016
1 parent 71620b9 commit 39acb58
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions language.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ var Exts map[string]string = map[string]string{
"erl": "erl",
"hrl": "erl",
"pgc": "c",
"capnp": "Cap'n Proto",
"cs": "cs",
"clj": "clj",
"coffee": "coffee",
Expand Down
2 changes: 2 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ func main() {
c_header := NewLanguage("C Header", "//", "/*", "*/")
c_sharp := NewLanguage("C#", "//", "/*", "*/")
c_shell := NewLanguage("C Shell", "#", "", "")
capnproto := NewLanguage("Cap'n Proto", "#", "", "")
clojure := NewLanguage("Clojure", ",#,#_", "", "")
coffee_script := NewLanguage("CoffeeScript", "#", "###", "###")
cold_fusion := NewLanguage("ColdFusion", "", "<!---", "--->")
Expand Down Expand Up @@ -158,6 +159,7 @@ func main() {
"bash": bash,
"c": c,
"csh": c_shell,
"Cap'n Proto": capnproto,
"cs": c_sharp,
"clj": clojure,
"coffee": coffee_script,
Expand Down

0 comments on commit 39acb58

Please sign in to comment.