Disable script and style block padding in web-mode

This commit is contained in:
Adam Goldsmith 2020-03-25 01:43:11 -04:00
parent 3071cdc59d
commit 527128f756

View File

@ -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