projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6384e9
)
; * lisp/treesit.el (treesit--font-lock-notifier): Add messaging.
author
Yuan Fu
<casouri@gmail.com>
Sat, 19 Nov 2022 08:41:19 +0000
(
00:41
-0800)
committer
Yuan Fu
<casouri@gmail.com>
Sat, 19 Nov 2022 08:41:19 +0000
(
00:41
-0800)
lisp/treesit.el
patch
|
blob
|
history
diff --git
a/lisp/treesit.el
b/lisp/treesit.el
index 6a41c1a41137e04f7edacfc13694d2eb923941ed..0bbed881b51cc0df806342969c22329747a8fa34 100644
(file)
--- a/
lisp/treesit.el
+++ b/
lisp/treesit.el
@@
-844,6
+844,9
@@
RANGES is a list of (BEG . END) ranges, PARSER is the tree-sitter
parser notifying of the change."
(with-current-buffer (treesit-parser-buffer parser)
(dolist (range ranges)
+ (when treesit--font-lock-verbose
+ (message "Notifier recieved range: %s-%s"
+ (car range) (cdr range)))
(put-text-property (car range) (cdr range) 'fontified nil))))
;;; Indent