]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/progmodes/ts-mode.el (ts-mode): Fix font-lock setup.
authorYuan Fu <casouri@gmail.com>
Mon, 24 Oct 2022 22:02:41 +0000 (15:02 -0700)
committerYuan Fu <casouri@gmail.com>
Mon, 24 Oct 2022 22:02:41 +0000 (15:02 -0700)
lisp/progmodes/ts-mode.el

index c23f2bec05b10c1983f74ae00a806afb758ef266..4d57edf65b0a1d051486938198772056c9ef5ace 100644 (file)
                       "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)))