From: Yuan Fu Date: Mon, 24 Oct 2022 22:02:41 +0000 (-0700) Subject: * lisp/progmodes/ts-mode.el (ts-mode): Fix font-lock setup. X-Git-Tag: emacs-29.0.90~1791 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=06b5ec4bbde119d14d866fc3713a4ed390d531f2;p=emacs.git * lisp/progmodes/ts-mode.el (ts-mode): Fix font-lock setup. --- 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)))