aboutsummaryrefslogtreecommitdiff
path: root/helix-term
diff options
context:
space:
mode:
authorPascal Kuthe2022-11-11 01:47:12 +0000
committerGitHub2022-11-11 01:47:12 +0000
commitbb5a122cdef79978f7ec770f30da914eee5bb9f3 (patch)
tree173dfdf79b566c8fad8862fdcc2714af4abc4f38 /helix-term
parente17ad2722a12ffd6ea3a42405ce6ab0ccb8c0486 (diff)
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>
Diffstat (limited to 'helix-term')
0 files changed, 0 insertions, 0 deletions