3

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?

faara
  • 159
  • 1
  • 1
  • 5
  • That's a screenshot of html-mode, not of web-mode. – phils Feb 21 '17 at 20:35
  • Could be a bug in web-mode. But while I'm here: I think you have a missing space between `(setq` and `web-mode-enable-auto-closing t)`. – Stefan Feb 22 '17 at 05:12
  • Maybe you can try with another color theme (`M-x load-theme`). On the default one, I find web-mode to be low-contrast, html tags and text are displayed in light and dark grey, so maybe yours doesn't make a difference. – Ehvince Feb 22 '17 at 09:52
  • I'm sorry, it was my misunderstanding. Only I didn't setup colors of web-mode. – faara Feb 22 '17 at 15:04

1 Answers1

0

For example

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

faara
  • 159
  • 1
  • 1
  • 5