diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 327a535..cda92c9 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -546,6 +546,18 @@ (setq jdee-server-dir "~/.emacs.d/jdee-server/target" jdee-mode-line-format mode-line-format)) +(use-package web-mode + :mode "\\.html?\\'" + :config + (setq web-mode-markup-indent-offset 2 + web-mode-css-indent-offset 2 + web-mode-code-indent-offset 2)) + +(use-package js2-mode + :mode "\\.js\\'" + :config + (setq js2-basic-offset 2)) + ;;; Local Variables (add-to-list 'safe-local-eval-forms '(outline-hide-body)) ;; Local Variables: