From b26852ef974d3e43d0174a15bc2774283042b8c2 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 2 Dec 2023 15:50:45 +0200 Subject: [PATCH] ; Fix last change. --- lisp/progmodes/lua-ts-mode.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/progmodes/lua-ts-mode.el b/lisp/progmodes/lua-ts-mode.el index 7dd05b2757f..7307a5b13f1 100644 --- a/lisp/progmodes/lua-ts-mode.el +++ b/lisp/progmodes/lua-ts-mode.el @@ -44,6 +44,7 @@ (declare-function treesit-node-first-child-for-pos "treesit.c") (declare-function treesit-node-parent "treesit.c") (declare-function treesit-node-start "treesit.c") +(declare-function treesit-node-end "treesit.c") (declare-function treesit-node-type "treesit.c") (declare-function treesit-parser-create "treesit.c") (declare-function treesit-search-subtree "treesit.c") @@ -140,7 +141,7 @@ (defun lua-ts--comment-font-lock (node override start end &rest _) "Apply font lock to comment NODE within START and END. Applies `font-lock-comment-delimiter-face' and -`font-lock-comment-face' See `treesit-fontify-with-override' for +`font-lock-comment-face'. See `treesit-fontify-with-override' for values of OVERRIDE." (let* ((node-start (treesit-node-start node)) (node-end (treesit-node-end node)) -- 2.39.2