]> git.eshelyaron.com Git - emacs.git/commitdiff
Don't highlight syntax error in c-ts-mode
authorYuan Fu <casouri@gmail.com>
Mon, 14 Nov 2022 18:34:27 +0000 (10:34 -0800)
committerYuan Fu <casouri@gmail.com>
Mon, 14 Nov 2022 18:34:27 +0000 (10:34 -0800)
* lisp/progmodes/c-ts-mode.el (c-ts-mode--base-mode): Remove error
feature.

lisp/progmodes/c-ts-mode.el

index 8d18c23da9ddd51d020176667197c3d0a95a9501..bb0db0e1e7339924bee262eb4bc581165545c924 100644 (file)
@@ -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"