Files
neovim/runtime
L Lllvvuu 07080f67fe perf(treesitter): do not scan past given line for predicate match
Problem
---
If a highlighter query returns a significant number of predicate
non-matches, the highlighter will scan well past the end of the window.

Solution
---
In the iterator returned from `iter_captures`, accept an optional
parameter `end_line`. If no parameter provided, the behavior is
unchanged, hence this is a non-invasive tweak.

Fixes: #25113 nvim-treesitter/nvim-treesitter#5057
2023-09-16 13:52:42 +01:00
..
2023-09-13 17:23:45 +02:00
2023-08-13 13:25:10 +01:00
2023-09-13 17:23:45 +02:00
2023-09-16 00:01:16 +02:00
2023-09-13 17:23:45 +02:00
2023-08-23 20:36:16 +01:00
2023-08-23 20:36:16 +01:00
2023-09-13 17:23:45 +02:00
2022-08-20 10:04:55 +02:00
2023-08-13 13:25:10 +01:00
2023-08-13 13:25:10 +01:00
2023-08-13 13:25:10 +01:00
2023-08-13 13:25:10 +01:00
2023-08-13 13:25:10 +01:00
2023-08-13 13:25:10 +01:00
2023-09-02 11:08:29 +02:00
2023-08-24 11:33:06 +09:00
2023-08-13 13:25:10 +01:00
2023-04-07 13:26:29 +02:00
2023-08-31 10:58:54 +02:00
2023-09-02 11:08:29 +02:00