mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
; Tree-sitter font-lock debugging: print node type not language
* lisp/treesit.el (treesit-font-lock-fontify-region): Print node type.
This commit is contained in:
parent
f6e92035a7
commit
6d5b34d9de
1 changed files with 2 additions and 2 deletions
|
|
@ -677,8 +677,8 @@ If LOUDLY is non-nil, display some debugging information."
|
|||
;; a function. This is to allow intermediate capture
|
||||
;; names used for #match and #eq.
|
||||
(when (or loudly treesit--font-lock-verbose)
|
||||
(message "Fontifying text from %d to %d, Face: %s Language: %s"
|
||||
start end face language)))))))))
|
||||
(message "Fontifying text from %d to %d, Face: %s, Node: %s"
|
||||
start end face (treesit-node-type node))))))))))
|
||||
`(jit-lock-bounds ,start . ,end))
|
||||
|
||||
;;; Indent
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue