aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlaž Hrastnik2021-06-07 01:17:25 +0000
committerBlaž Hrastnik2021-06-07 01:17:25 +0000
commit59f94d13b8d61ce338ecf4957c6b4ad945021009 (patch)
tree8b1f74c034243d38646759360bd2ee3db393375e
parentb3eeac7bbf028e1f416a90fcc940053e19385b2e (diff)
Disable haskell grammar until build issues are resolved
-rw-r--r--helix-syntax/build.rs1
-rw-r--r--helix-syntax/src/lib.rs2
-rw-r--r--languages.toml16
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 = " " }