Skip to content

Commit

Permalink
Remove old vendored haskell parser
Browse files Browse the repository at this point in the history
  • Loading branch information
Wilfred committed Dec 20, 2024
1 parent bbe4890 commit 79bdf87
Show file tree
Hide file tree
Showing 89 changed files with 3 additions and 718,009 deletions.
5 changes: 0 additions & 5 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -178,11 +178,6 @@ fn main() {
src_dir: "vendored_parsers/tree-sitter-hare-src",
extra_files: vec![],
},
TreeSitterParser {
name: "tree-sitter-haskell",
src_dir: "vendored_parsers/tree-sitter-haskell-src",
extra_files: vec!["scanner.c"],
},
TreeSitterParser {
name: "tree-sitter-hcl",
src_dir: "vendored_parsers/tree-sitter-hcl-src",
Expand Down
2 changes: 1 addition & 1 deletion sample_files/compare.expected
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ sample_files/hare_1.ha sample_files/hare_2.ha
ef6fd59edc55241311a97d21dd81e4c0 -

sample_files/haskell_1.hs sample_files/haskell_2.hs
c30ce9ca8a248c1b677670e44aa3bb91 -
68fd7f9865c2b1defe05ffd509e08b93 -

sample_files/hcl_1.hcl sample_files/hcl_2.hcl
7c2aaa3a8b401bc007817f5dd608946d -
Expand Down
7 changes: 2 additions & 5 deletions src/parse/tree_sitter_parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -504,11 +504,8 @@ pub(crate) fn from_language(language: guess::Language) -> TreeSitterConfig {
.into_iter()
.collect(),
delimiter_tokens: vec![("[", "]"), ("(", ")")],
highlight_query: ts::Query::new(
&language,
include_str!("../../vendored_parsers/highlights/haskell.scm"),
)
.unwrap(),
highlight_query: ts::Query::new(&language, tree_sitter_haskell::HIGHLIGHTS_QUERY)
.unwrap(),
sub_languages: vec![],
}
}
Expand Down
1 change: 0 additions & 1 deletion vendored_parsers/highlights/haskell.scm

This file was deleted.

1 change: 0 additions & 1 deletion vendored_parsers/tree-sitter-haskell-src

This file was deleted.

2 changes: 0 additions & 2 deletions vendored_parsers/tree-sitter-haskell/.gitattributes

This file was deleted.

46 changes: 0 additions & 46 deletions vendored_parsers/tree-sitter-haskell/.github/workflows/ci.yml

This file was deleted.

10 changes: 0 additions & 10 deletions vendored_parsers/tree-sitter-haskell/.gitignore

This file was deleted.

6 changes: 0 additions & 6 deletions vendored_parsers/tree-sitter-haskell/.npmignore

This file was deleted.

59 changes: 0 additions & 59 deletions vendored_parsers/tree-sitter-haskell/Cargo.lock

This file was deleted.

25 changes: 0 additions & 25 deletions vendored_parsers/tree-sitter-haskell/Cargo.toml

This file was deleted.

21 changes: 0 additions & 21 deletions vendored_parsers/tree-sitter-haskell/LICENSE

This file was deleted.

47 changes: 0 additions & 47 deletions vendored_parsers/tree-sitter-haskell/Makefile

This file was deleted.

Loading

0 comments on commit 79bdf87

Please sign in to comment.