aboutsummaryrefslogtreecommitdiff
path: root/helix-syntax
diff options
context:
space:
mode:
authoroberblastmeister2021-09-01 16:08:08 +0000
committerGitHub2021-09-01 16:08:08 +0000
commit5766f5da8fc9e98320e7e765c47e701d72108028 (patch)
treec65b2f9ca410983256a80509838fb28f0482a14f /helix-syntax
parent825bceeab68276cdf120bda5d172b854867d8585 (diff)
OCaml support (#666)
* added some stuff * add interface * indent * highlights and locals * scope * change some stuff * add indents * fix blanket highlight * macro * use inherits
Diffstat (limited to 'helix-syntax')
-rw-r--r--helix-syntax/build.rs3
m---------helix-syntax/languages/tree-sitter-ocaml0
2 files changed, 3 insertions, 0 deletions
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
+Subproject 23d419ba45789c5a47d31448061557716b02750