Add support for OCaml (#281)

This commit is contained in:
John Leeds
2024-02-27 06:08:27 -08:00
committed by GitHub
parent 53a45c6fc1
commit c18781bb27

View File

@@ -23,6 +23,7 @@ const (
Go = "go"
Javascript = "javascript"
Lua = "lua"
OCaml = "ocaml"
Perl = "perl"
Python = "python"
Ruby = "ruby"
@@ -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>"}},