Function: c-ts-mode--fontify-variable
c-ts-mode--fontify-variable is a byte-compiled function defined in
c-ts-mode.el.gz.
Signature
(c-ts-mode--fontify-variable NODE OVERRIDE START END &rest _)
Documentation
Fontify an identifier node if it is a variable.
Don't fontify it if it is a function identifier. For NODE,
OVERRIDE, START, END, and ARGS, see treesit-font-lock-rules.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/c-ts-mode.el.gz
(defun c-ts-mode--fontify-variable (node override start end &rest _)
"Fontify an identifier node if it is a variable.
Don't fontify it 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))
"call_expression"))
(treesit-fontify-with-override
(treesit-node-start node) (treesit-node-end node)
'font-lock-variable-use-face override start end)))