add emmet-mode

This commit is contained in:
zedhugh committed 2022-10-28 02:33:02 +08:00
1 parent 6d6e79ce0b
commit 07cf24b6f2
4 files changed
+21

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
;; -*- coding: utf-8; lexical-binding: t; -*-
(autoload 'emmet-mode "emmet-mode" "" t)
(with-eval-after-load 'emmet-mode
(setq emmet-self-closing-tag-style " /"))
(dolist (hook '(css-mode-hook
web-mode-hook
html-mode-hook
js-jsx-mode-hook
typescript-tsx-mode-hook))
(add-hook hook #'emmet-mode))
(provide 'init-emmet)