* lisp/progmodes/c-ts-mode.el (c-ts-mode--thing-settings): Remove 'comment'.

Comment out the 'comment' thing since 'treesit-forward-comment'
is not ready to handle block comments (bug#80837).
Do not merge to master.
This commit is contained in:
Juri Linkov 2026-08-21 18:04:49 +03:00
parent 062dcd2aea
commit 526912e158

View file

@ -1276,7 +1276,10 @@ if `c-ts-mode-emacs-sources-support' is non-nil."
"case_statement")))
(text ,(regexp-opt '("comment"
"raw_string_literal")))
(comment "comment"))
;; This is commented out in Emacs 31 since 'treesit-forward-comment'
;; can't uncomment block comments. It's already fixed in Emacs 32.
;; (comment "comment")
)
"`treesit-thing-settings' for both C and C++.")
;;; Support for FOR_EACH_* macros