From e38d5e950c5d21e800f4c68943b1e10ee8223a14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs?= Date: Wed, 7 Nov 2018 11:33:28 -0500 Subject: Enable web mode HTML tag highlighting Note: You can find what face is applied to text a number of ways. If you can get your cursor on the text. You can use M-x describe-face which will give you a default option of the current face. Or you can use M-x describe-char which will tell you what face is applied. You can customize faces through the customize feature or with elisp. If you can't get your cursor on the face, try finding the face using customize-group, list-faces-display or by reading the packages code. --- lisp/init-web-mode.el | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lisp/init-web-mode.el') diff --git a/lisp/init-web-mode.el b/lisp/init-web-mode.el index 30252bf..a5dc122 100644 --- a/lisp/init-web-mode.el +++ b/lisp/init-web-mode.el @@ -8,6 +8,8 @@ ("\\.ctp\\'" . web-mode)) :config ;; web-modeの設定 + (setq web-mode-enable-current-element-highlight t) + (set-face-background 'web-mode-current-element-highlight-face "#a3a3a3") ) (provide 'init-web-mode) -- cgit v1.2.3