You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
helix/helix-core
Pascal Kuthe bb5a122cde
improve performance of tree sitter query captures (for text object motions in particular) (#4707)
* add tree sitter match limit to avoid slowdowns for larger files

Affects all tree sitter queries and should speedup both
syntax highlighting and text object queries.
This has been shown to fix significant slowdowns with textobjects
for rust files as small as 3k loc.

* Apply suggestions from code review

Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>

Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
2 years ago
..
src improve performance of tree sitter query captures (for text object motions in particular) (#4707) 2 years ago
tests Add `extend-indented` and `stop-extend` captures for indent queries. 2 years ago
.gitignore Initial import. 4 years ago
Cargo.toml build(deps): bump once_cell from 1.15.0 to 1.16.0 (#4548) 2 years ago