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/src
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
..
increment Resolve a bunch of upcoming clippy lints 2 years ago
auto_pairs.rs Fix multi byte auto pairs (#4024) 2 years ago
chars.rs Temporarily turn on unicode-lines 3 years ago
comment.rs core: Move state into the history module 2 years ago
config.rs Add support for local language configuration (#1249) 3 years ago
diagnostic.rs diagnostics: Use Vec<Tag> instead of Option<Vec<Tag>> 2 years ago
diff.rs Fix Clippy lints in tests (#1563) 3 years ago
graphemes.rs Improve Readability (#2639) 3 years ago
history.rs core: Move state into the history module 2 years ago
indent.rs Fix panic from indenting on tree with errors 2 years ago
lib.rs core: Move state into the history module 2 years ago
line_ending.rs Resolve a bunch of upcoming clippy lints 2 years ago
macros.rs Split parts of helix-term into helix-view. 4 years ago
match_brackets.rs Fix match brackets comment (#1346) 3 years ago
movement.rs Use requested direction for new textobject selection range 2 years ago
object.rs Fix edge-case in tree-sitter expand_selection selection command (#2877) 2 years ago
path.rs Add workspace and document diagnostics picker (#2013) 2 years ago
position.rs feat: make `move_vertically` aware of tabs and wide characters (#2620) 2 years ago
register.rs fixes showing the last prompt on empty input (#2870) 2 years ago
search.rs Jump to the next number on the line before incrementing (#1778) 3 years ago
selection.rs Use requested direction for new textobject selection range 2 years ago
shellwords.rs Escape filenames in command completion 2 years ago
surround.rs Resolve a bunch of upcoming clippy lints 2 years ago
syntax.rs improve performance of tree sitter query captures (for text object motions in particular) (#4707) 2 years ago
test.rs Run clippy on workspace in CI (#4614) 2 years ago
textobject.rs Adjust `m` textobject description and minor code clarification (#3343) 2 years ago
transaction.rs fix tests 2 years ago
wrap.rs add reflow command (#2128) 3 years ago