Function: cider--treesit-not-local-p
cider--treesit-not-local-p is a byte-compiled function defined in
cider-mode.el.
Signature
(cider--treesit-not-local-p NODE)
Documentation
Return non-nil unless NODE is a local var or in a blocked region.
Tree-sitter counterpart of cider--unless-local-match: a symbol shadowed
by a local binding (per the cider-locals text property) should keep its
own face rather than the dynamic one.
Source Code
;; Defined in ~/.emacs.d/elpa/cider-20260822.1520/cider-mode.el
(defun cider--treesit-not-local-p (node)
"Return non-nil unless NODE is a local var or in a blocked region.
Tree-sitter counterpart of `cider--unless-local-match': a symbol shadowed
by a local binding (per the `cider-locals' text property) should keep its
own face rather than the dynamic one."
(let ((start (treesit-node-start node)))
(not (or (get-text-property start 'cider-block-dynamic-font-lock)
(member (treesit-node-text node)
(get-text-property start 'cider-locals))))))