diff --git a/.emacs.d/init.el b/.emacs.d/init.el index e331ded..9cf73a1 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -756,9 +756,11 @@ :mode "\\.vue?\\'" :config (add-to-list 'web-mode-indentation-params '("lineup-calls" . nil)) - (setq web-mode-markup-indent-offset 2 - web-mode-css-indent-offset 2 - web-mode-code-indent-offset 2)) + (setq-default web-mode-markup-indent-offset 2 + web-mode-css-indent-offset 2 + web-mode-code-indent-offset 2 + web-mode-script-padding nil + web-mode-style-padding nil)) (use-package vue-mode :config