|
From: | Dmitry Gutov |
Subject: | bug#66732: tree-sitter fontification doesn't update multi-line syntax reliably |
Date: | Sat, 23 Dec 2023 22:51:38 +0200 |
User-agent: | Mozilla Thunderbird |
On 23/12/2023 22:46, Dmitry Gutov wrote:
On 23/12/2023 20:02, Yuan Fu wrote:I have a patch. Dmitry, WDYT?Looks good! I haven't had a chance to test it yet, but it's probably not necessary to do before the checkin.
Speaking of pre-redisplay-functions, though, Stefan mentioned that it could be beneficial to do a debounce (based on buffer-chars-modified-tick?) because they can be called several times per user command.
Although if the parser short-circuits when the buffer is unchanged since last time, perhaps it's not necessary.
[Prev in Thread] | Current Thread | [Next in Thread] |