From: Yuan Fu Date: Tue, 15 Nov 2022 10:39:03 +0000 (-0800) Subject: ; Enable highlighting error in c-ts-mode--base-mode X-Git-Tag: emacs-29.0.90~1665 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8175497ccac1b3afc2208260be91423e2bca2d25;p=emacs.git ; Enable highlighting error in c-ts-mode--base-mode I expect this to be turned off by default. but turn this on for demonstration for now. * lisp/progmodes/c-ts-mode.el (c-ts-mode--base-mode): Enable error. --- diff --git a/lisp/progmodes/c-ts-mode.el b/lisp/progmodes/c-ts-mode.el index bb0db0e1e73..8d18c23da9d 100644 --- a/lisp/progmodes/c-ts-mode.el +++ b/lisp/progmodes/c-ts-mode.el @@ -420,7 +420,7 @@ the subtrees." (setq-local treesit-font-lock-feature-list '((comment preprocessor operator constant string literal keyword) (type definition expression statement) - ()))) + (error)))) ;;;###autoload (define-derived-mode c-ts-mode c-ts-mode--base-mode "C"