From 59f94d13b8d61ce338ecf4957c6b4ad945021009 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bla=C5=BE=20Hrastnik?= Date: Mon, 7 Jun 2021 10:17:25 +0900 Subject: [PATCH] Disable haskell grammar until build issues are resolved --- helix-syntax/build.rs | 1 + helix-syntax/src/lib.rs | 2 +- languages.toml | 16 ++++++++-------- 3 files changed, 10 insertions(+), 9 deletions(-) diff --git a/helix-syntax/build.rs b/helix-syntax/build.rs index 5d539480..847f8a67 100644 --- a/helix-syntax/build.rs +++ b/helix-syntax/build.rs @@ -104,6 +104,7 @@ fn build_dir(dir: &str, language: &str) { 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 ".DS_Store".to_string(), ]; let dirs = collect_tree_sitter_dirs(&ignore); diff --git a/helix-syntax/src/lib.rs b/helix-syntax/src/lib.rs index b923de95..bb0b2ec6 100644 --- a/helix-syntax/src/lib.rs +++ b/helix-syntax/src/lib.rs @@ -74,7 +74,7 @@ mk_langs!( (Css, tree_sitter_css), (Elixir, tree_sitter_elixir), (Go, tree_sitter_go), - (Haskell, tree_sitter_haskell), + // (Haskell, tree_sitter_haskell), (Html, tree_sitter_html), (Java, tree_sitter_java), (Javascript, tree_sitter_javascript), diff --git a/languages.toml b/languages.toml index e13184c9..e923bb64 100644 --- a/languages.toml +++ b/languages.toml @@ -145,11 +145,11 @@ roots = [] indent = { tab-width = 2, unit = " " } -[[language]] -name = "haskell" -scope = "source.haskell" -injection-regex = "haskell" -file-types = ["hs"] -roots = [] - -indent = { tab-width = 2, unit = " " } +# [[language]] +# name = "haskell" +# scope = "source.haskell" +# injection-regex = "haskell" +# file-types = ["hs"] +# roots = [] +# +# indent = { tab-width = 2, unit = " " }