File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -356,10 +356,10 @@ impl<'a> CapturedNode<'a> {
356
356
357
357
/// The number of matches a TS cursor can at once to avoid performance problems for medium to large files.
358
358
/// Set with `set_match_limit`.
359
- /// Using such a limit means that we loose valid captures in, so there is fundamentally a tradeoff here.
359
+ /// Using such a limit means that we lose valid captures in, so there is fundamentally a tradeoff here.
360
360
///
361
361
///
362
- /// Old tree sitter versions used a limit of 32 by default until this limit was removed in version `0.19.5` (must now best set manually).
362
+ /// Old tree sitter versions used a limit of 32 by default until this limit was removed in version `0.19.5` (must now be set manually).
363
363
/// However, this causes performance issues for medium to large files.
364
364
/// In helix, this problem caused treesitter motions to take multiple seconds to complete in medium-sized rust files (3k loc).
365
365
/// Neovim also encountered this problem and reintroduced this limit after it was removed upstream
You can’t perform that action at this time.
0 commit comments