mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-02 21:52:04 -08:00
; * lisp/treesit.el (treesit-parser-changed-regions): Declare.
This commit is contained in:
parent
b03f11d9ac
commit
8497cfeaea
1 changed files with 2 additions and 0 deletions
|
|
@ -2073,6 +2073,8 @@ parser."
|
|||
(signal 'treesit-no-parser nil))))
|
||||
(car (treesit-parser-list))))
|
||||
|
||||
(declare-function treesit-parser-changed-regions "treesit.c")
|
||||
|
||||
(defun treesit--pre-redisplay (&rest _)
|
||||
"Force a reparse on primary parser and mark regions to be fontified."
|
||||
(unless (eq treesit--pre-redisplay-tick (buffer-chars-modified-tick))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue