projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d19558
)
Don't highlight syntax error in c-ts-mode
author
Yuan Fu
<casouri@gmail.com>
Mon, 14 Nov 2022 18:34:27 +0000
(10:34 -0800)
committer
Yuan 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
patch
|
blob
|
history
diff --git
a/lisp/progmodes/c-ts-mode.el
b/lisp/progmodes/c-ts-mode.el
index 8d18c23da9ddd51d020176667197c3d0a95a9501..bb0db0e1e7339924bee262eb4bc581165545c924 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"