From 5766f5da8fc9e98320e7e765c47e701d72108028 Mon Sep 17 00:00:00 2001 From: oberblastmeister Date: Wed, 1 Sep 2021 12:08:08 -0400 Subject: OCaml support (#666) * added some stuff * add interface * indent * highlights and locals * scope * change some stuff * add indents * fix blanket highlight * macro * use inherits--- helix-syntax/build.rs | 3 +++ helix-syntax/languages/tree-sitter-ocaml | 1 + 2 files changed, 4 insertions(+) create mode 160000 helix-syntax/languages/tree-sitter-ocaml (limited to 'helix-syntax') diff --git a/helix-syntax/build.rs b/helix-syntax/build.rs index 75f8c970..473646fd 100644 --- a/helix-syntax/build.rs +++ b/helix-syntax/build.rs @@ -177,6 +177,7 @@ fn main() { let ignore = vec![ "tree-sitter-typescript".to_string(), "tree-sitter-haskell".to_string(), // aarch64 failures: https://github.com/tree-sitter/tree-sitter-haskell/issues/34 + "tree-sitter-ocaml".to_string(), ]; let dirs = collect_tree_sitter_dirs(&ignore).unwrap(); @@ -202,4 +203,6 @@ fn main() { build_dir("tree-sitter-typescript/tsx", "tsx"); build_dir("tree-sitter-typescript/typescript", "typescript"); + build_dir("tree-sitter-ocaml/ocaml", "ocaml"); + build_dir("tree-sitter-ocaml/interface", "ocaml-interface") } diff --git a/helix-syntax/languages/tree-sitter-ocaml b/helix-syntax/languages/tree-sitter-ocaml new file mode 160000 index 00000000..23d419ba --- /dev/null +++ b/helix-syntax/languages/tree-sitter-ocaml @@ -0,0 +1 @@ +Subproject commit 23d419ba45789c5a47d31448061557716b02750a -- cgit v1.2.3-70-g09d2