Skip to content
This repository has been archived by the owner on Nov 14, 2024. It is now read-only.

Commit

Permalink
Fix timing out during tree-sitter parsing.
Browse files Browse the repository at this point in the history
We can re-introduce that with an option later.
  • Loading branch information
hadronized committed Feb 27, 2024
1 parent 0e82642 commit ba9403e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion kak-tree-sitter/src/tree_sitter_state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ impl TreeState {
pub fn new(lang: &Language, buf: &str) -> Result<Self, OhNo> {
let mut parser = Parser::new();
parser.set_language(lang.lang())?;
parser.set_timeout_micros(1000);

let tree = parser
.parse(buf.as_bytes(), None)
Expand Down

0 comments on commit ba9403e

Please sign in to comment.