; Rename c-ts-fontify-error to c-ts-mode--fontify-error
* lisp/progmodes/c-ts-mode.el (c-ts-mode--font-lock-settings) (c-ts-fontify-error): Rename.
This commit is contained in:
parent
c6b454df33
commit
5257b9cda4
1 changed files with 2 additions and 2 deletions
|
@ -319,7 +319,7 @@ MODE is either `c' or `cpp'."
|
||||||
|
|
||||||
:language mode
|
:language mode
|
||||||
:feature 'error
|
:feature 'error
|
||||||
'((ERROR) @c-ts-fontify-error)
|
'((ERROR) @c-ts-mode--fontify-error)
|
||||||
|
|
||||||
:feature 'escape-sequence
|
:feature 'escape-sequence
|
||||||
:language mode
|
:language mode
|
||||||
|
@ -421,7 +421,7 @@ This function corrects the fontification on the colon in
|
||||||
(treesit-node-start arg) (treesit-node-end arg)
|
(treesit-node-start arg) (treesit-node-end arg)
|
||||||
'default override start end))))))
|
'default override start end))))))
|
||||||
|
|
||||||
(defun c-ts-fontify-error (node override start end &rest _)
|
(defun c-ts-mode--fontify-error (node override start end &rest _)
|
||||||
"Fontify the error nodes.
|
"Fontify the error nodes.
|
||||||
For NODE, OVERRIDE, START, and END, see
|
For NODE, OVERRIDE, START, and END, see
|
||||||
`treesit-font-lock-rules'."
|
`treesit-font-lock-rules'."
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue