[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
feature/tree-sitter 06b5ec4bbd: * lisp/progmodes/ts-mode.el (ts-mode): F
From: |
Yuan Fu |
Subject: |
feature/tree-sitter 06b5ec4bbd: * lisp/progmodes/ts-mode.el (ts-mode): Fix font-lock setup. |
Date: |
Mon, 24 Oct 2022 18:03:05 -0400 (EDT) |
branch: feature/tree-sitter
commit 06b5ec4bbde119d14d866fc3713a4ed390d531f2
Author: Yuan Fu <casouri@gmail.com>
Commit: Yuan Fu <casouri@gmail.com>
* lisp/progmodes/ts-mode.el (ts-mode): Fix font-lock setup.
---
lisp/progmodes/ts-mode.el | 1 +
1 file changed, 1 insertion(+)
diff --git a/lisp/progmodes/ts-mode.el b/lisp/progmodes/ts-mode.el
index c23f2bec05..4d57edf65b 100644
--- 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)))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- feature/tree-sitter 06b5ec4bbd: * lisp/progmodes/ts-mode.el (ts-mode): Fix font-lock setup.,
Yuan Fu <=