; Improve docstring of c-ts-mode--fontify-variable

* lisp/progmodes/c-ts-mode.el (c-ts-mode--fontify-variable): Improve
docstring.
This commit is contained in:
Yuan Fu 2022-12-06 00:17:04 -08:00
parent 6187d001f2
commit c6b454df33
No known key found for this signature in database
GPG key ID: 56E19BC57664A442

View file

@ -372,8 +372,8 @@ For NODE, OVERRIDE, START, END, and ARGS, see
override start end))))
(defun c-ts-mode--fontify-variable (node override start end &rest _)
"Fontify an identifier node.
Fontify it if NODE is not a function identifier. For NODE,
"Fontify an identifier node if it is a variable.
Don't fontify if it is a function identifier. For NODE,
OVERRIDE, START, END, and ARGS, see `treesit-font-lock-rules'."
(when (not (equal (treesit-node-type
(treesit-node-parent node))