From 19696dbc24fc765604121ac4e73cbf354080f199 Mon Sep 17 00:00:00 2001 From: Yuan Fu Date: Thu, 30 Apr 2026 21:29:36 -0700 Subject: [PATCH] ; Add comment thing for c-ts-mode * lisp/progmodes/c-ts-mode.el (c-ts-mode--thing-settings): Add comment thing. --- lisp/progmodes/c-ts-mode.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/progmodes/c-ts-mode.el b/lisp/progmodes/c-ts-mode.el index 591000cb440..c8120d5752c 100644 --- a/lisp/progmodes/c-ts-mode.el +++ b/lisp/progmodes/c-ts-mode.el @@ -1274,7 +1274,8 @@ if `c-ts-mode-emacs-sources-support' is non-nil." "goto_statement" "case_statement"))) (text ,(regexp-opt '("comment" - "raw_string_literal")))) + "raw_string_literal"))) + (comment "comment")) "`treesit-thing-settings' for both C and C++.") ;;; Support for FOR_EACH_* macros