projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6203b9d
)
* lisp/progmodes/ts-mode.el (ts-mode): Fix font-lock setup.
author
Yuan Fu
<casouri@gmail.com>
Mon, 24 Oct 2022 22:02:41 +0000
(15:02 -0700)
committer
Yuan Fu
<casouri@gmail.com>
Mon, 24 Oct 2022 22:02:41 +0000
(15:02 -0700)
lisp/progmodes/ts-mode.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/ts-mode.el
b/lisp/progmodes/ts-mode.el
index c23f2bec05b10c1983f74ae00a806afb758ef266..4d57edf65b0a1d051486938198772056c9ef5ace 100644
(file)
--- a/
lisp/progmodes/ts-mode.el
+++ b/
lisp/progmodes/ts-mode.el
@@
-276,6
+276,7
@@
"function_declaration"
"lexical_declaration")))
;; Font-lock.
+ (setq-local font-lock-defaults '(nil))
(setq-local treesit-font-lock-settings ts-mode--font-lock-settings)
(setq-local treesit-font-lock-feature-list '((minimal) (moderate) (full)))