From 5d77eb4b7c00d0652b190166c393efa16d0775a9 Mon Sep 17 00:00:00 2001 From: Yuan Fu Date: Sat, 19 Nov 2022 00:41:19 -0800 Subject: [PATCH] ; * lisp/treesit.el (treesit--font-lock-notifier): Add messaging. --- lisp/treesit.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lisp/treesit.el b/lisp/treesit.el index 6a41c1a4113..0bbed881b51 100644 --- 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 -- 2.39.5