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>
2022-11-11 10:47:12 +09:00
..
increment Resolve a bunch of upcoming clippy lints 2022-11-04 21:06:28 +09:00
auto_pairs.rs Fix multi byte auto pairs (#4024) 2022-10-21 09:22:20 +09:00
chars.rs Temporarily turn on unicode-lines 2022-03-17 10:53:50 +09:00
comment.rs core: Move state into the history module 2022-11-08 21:03:54 +09:00
config.rs Add support for local language configuration (#1249) 2022-04-18 12:10:51 +09:00
diagnostic.rs diagnostics: Use Vec<Tag> instead of Option<Vec<Tag>> 2022-09-20 16:28:00 +09:00
diff.rs Fix Clippy lints in tests (#1563) 2022-01-23 16:37:23 +09:00
graphemes.rs Improve Readability (#2639) 2022-06-01 12:01:37 -05:00
history.rs core: Move state into the history module 2022-11-08 21:03:54 +09:00
indent.rs Fix panic from indenting on tree with errors 2022-11-09 12:41:07 +09:00
lib.rs core: Move state into the history module 2022-11-08 21:03:54 +09:00
line_ending.rs Resolve a bunch of upcoming clippy lints 2022-11-04 21:06:28 +09:00
macros.rs Split parts of helix-term into helix-view. 2020-09-21 18:24:16 +09:00
match_brackets.rs Fix match brackets comment (#1346) 2021-12-24 07:27:31 +05:30
movement.rs Use requested direction for new textobject selection range 2022-10-03 10:44:08 -04:00
object.rs Fix edge-case in tree-sitter expand_selection selection command (#2877) 2022-06-25 13:12:30 -05:00
path.rs Add workspace and document diagnostics picker (#2013) 2022-06-30 18:16:18 +09:00
position.rs feat: make `move_vertically` aware of tabs and wide characters (#2620) 2022-06-22 01:36:36 +09:00
register.rs fixes showing the last prompt on empty input (#2870) 2022-06-24 17:14:48 +02:00
search.rs Jump to the next number on the line before incrementing (#1778) 2022-04-01 22:14:37 +09:00
selection.rs Use requested direction for new textobject selection range 2022-10-03 10:44:08 -04:00
shellwords.rs Escape filenames in command completion 2022-11-07 13:38:16 +09:00
surround.rs Resolve a bunch of upcoming clippy lints 2022-11-04 21:06:28 +09:00
syntax.rs improve performance of tree sitter query captures (for text object motions in particular) (#4707) 2022-11-11 10:47:12 +09:00
test.rs Run clippy on workspace in CI (#4614) 2022-11-07 13:39:18 +09:00
textobject.rs Adjust `m` textobject description and minor code clarification (#3343) 2022-08-17 10:41:59 +09:00
transaction.rs fix tests 2022-11-08 22:20:32 +09:00
wrap.rs add reflow command (#2128) 2022-05-02 23:24:22 +09:00