diff options
-rw-r--r-- | emacs/init.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/emacs/init.el b/emacs/init.el index 111252da..b1362005 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -1173,7 +1173,10 @@ Works with: arglist-cont-nonempty, arglist-close." :config (setq sgml-basic-offset 4)) (use-package emmet-mode - :ensure t) + :ensure t + :config (progn + (if (functionp 'web-mode) + (add-hook 'web-mode-hook #'emmet-mode)))) (use-package web-mode :defer t |