; 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:
parent
6187d001f2
commit
c6b454df33
1 changed files with 2 additions and 2 deletions
|
@ -372,8 +372,8 @@ For NODE, OVERRIDE, START, END, and ARGS, see
|
||||||
override start end))))
|
override start end))))
|
||||||
|
|
||||||
(defun c-ts-mode--fontify-variable (node override start end &rest _)
|
(defun c-ts-mode--fontify-variable (node override start end &rest _)
|
||||||
"Fontify an identifier node.
|
"Fontify an identifier node if it is a variable.
|
||||||
Fontify it if NODE is not a function identifier. For NODE,
|
Don't fontify if it is a function identifier. For NODE,
|
||||||
OVERRIDE, START, END, and ARGS, see `treesit-font-lock-rules'."
|
OVERRIDE, START, END, and ARGS, see `treesit-font-lock-rules'."
|
||||||
(when (not (equal (treesit-node-type
|
(when (not (equal (treesit-node-type
|
||||||
(treesit-node-parent node))
|
(treesit-node-parent node))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue