; Fix compiler warning in html-ts-mode.el
* lisp/textmodes/html-ts-mode.el (treesit-node-end) (treesit-node-start): Declare.
This commit is contained in:
parent
6d99b74ef7
commit
7a72589847
1 changed files with 3 additions and 0 deletions
|
@ -125,6 +125,9 @@ Return nil if there is no name or if NODE is not a defun node."
|
|||
(treesit-search-subtree node "\\`tag_name\\'" nil nil 2)
|
||||
t)))
|
||||
|
||||
(declare-function treesit-node-end "treesit.c")
|
||||
(declare-function treesit-node-start "treesit.c")
|
||||
|
||||
(defun html-ts-mode--outline-predicate (node)
|
||||
"Limit outlines to multi-line elements."
|
||||
(when (string-match-p "element" (treesit-node-type node))
|
||||
|
|
Loading…
Add table
Reference in a new issue