projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63f8a83
)
; Enable highlighting error in c-ts-mode--base-mode
author
Yuan Fu
<casouri@gmail.com>
Tue, 15 Nov 2022 10:39:03 +0000
(
02:39
-0800)
committer
Yuan Fu
<casouri@gmail.com>
Tue, 15 Nov 2022 10:39:03 +0000
(
02:39
-0800)
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.
lisp/progmodes/c-ts-mode.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/c-ts-mode.el
b/lisp/progmodes/c-ts-mode.el
index bb0db0e1e7339924bee262eb4bc581165545c924..8d18c23da9ddd51d020176667197c3d0a95a9501 100644
(file)
--- 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"