Skip to content

Commit

Permalink
Disable haskell grammar until build issues are resolved
Browse files Browse the repository at this point in the history
  • Loading branch information
archseer committed Jun 7, 2021
1 parent b3eeac7 commit 59f94d1
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
1 change: 1 addition & 0 deletions helix-syntax/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion helix-syntax/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down
16 changes: 8 additions & 8 deletions languages.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 = " " }

0 comments on commit 59f94d1

Please sign in to comment.