Skip to content

Commit

Permalink
Add OCaml language
Browse files Browse the repository at this point in the history
  • Loading branch information
rien committed Dec 2, 2024
1 parent a8ac373 commit 04aa1da
Show file tree
Hide file tree
Showing 10 changed files with 632 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,6 @@
[submodule "parsers/rust"]
path = parsers/rust
url = https://github.com/tree-sitter/tree-sitter-rust.git
[submodule "parsers/ocaml"]
path = parsers/ocaml
url = https://github.com/tree-sitter/tree-sitter-ocaml.git
1 change: 1 addition & 0 deletions lib/src/lib/language.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ export class LanguagePicker {
new ProgrammingLanguage("python", [".py", ".py3"]),
new ProgrammingLanguage("php", [".php", ".php3", ".php4", ".php5", ".php7", ".phps", ".phpt", ".phtml"]),
new ProgrammingLanguage("modelica", [".mo", ".mos"]),
new ProgrammingLanguage("ocaml", [".ml"]),
new ProgrammingLanguage("java", [".java"]),
new ProgrammingLanguage("javascript", [".js"]),
new ProgrammingLanguage("elm", [".elm"]),
Expand Down
Loading

0 comments on commit 04aa1da

Please sign in to comment.