why does syntax highlighting disable when I use web-mode in emacs?

505 Views Asked by At

enter image description here

This is my init.el

 (require 'web-mode)

 (setq web-mode-tag-auto-close-style 1)

 (setq web-mode-enable-auto-closing t)

What should I do?

1

There are 1 best solutions below

0
faara On

For example

'(web-mode-doctype-face ((t (:foreground "#4A8ACA")))) '(web-mode-html-tag-face ((t (:foreground "#4A8ACA"))))