Skip to content

Commit

Permalink
Add support for OCaml (#281)
Browse files Browse the repository at this point in the history
  • Loading branch information
LeedsJohn authored Feb 27, 2024
1 parent 53a45c6 commit c18781b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions internal/code/languages.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ const (
Go = "go"
Javascript = "javascript"
Lua = "lua"
OCaml = "ocaml"
Perl = "perl"
Python = "python"
Ruby = "ruby"
Expand Down Expand Up @@ -70,6 +71,10 @@ var Languages = map[string]Language{
Extension: "rb",
Commands: cmds{{"ruby", "<file>"}},
},
OCaml: {
Extension: "ml",
Commands: cmds{{"ocaml", "<file>"}},
},
Python: {
Extension: "py",
Commands: cmds{{"python", "<file>"}},
Expand Down

0 comments on commit c18781b

Please sign in to comment.