From 06b5ec4bbde119d14d866fc3713a4ed390d531f2 Mon Sep 17 00:00:00 2001 From: Yuan Fu Date: Mon, 24 Oct 2022 15:02:41 -0700 Subject: [PATCH] * 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 c23f2bec05b..4d57edf65b0 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))) -- 2.39.2