Update web-mode config
This commit is contained in:
parent
cb9fb07a46
commit
f635ce335e
1 changed files with 7 additions and 0 deletions
|
@ -24,6 +24,13 @@
|
||||||
|
|
||||||
;;; Code:
|
;;; Code:
|
||||||
|
|
||||||
|
(setq web-mode-attr-indent-offset 2)
|
||||||
|
(setq web-mode-auto-quote-style 1)
|
||||||
|
(setq web-mode-code-indent-offset 2)
|
||||||
|
(setq web-mode-comment-style 2)
|
||||||
|
(setq web-mode-css-indent-offset 2)
|
||||||
|
(setq web-mode-css-indent-offset 2)
|
||||||
|
|
||||||
(add-hook 'web-mode-hook 'whitespace-only-tabs-mode)
|
(add-hook 'web-mode-hook 'whitespace-only-tabs-mode)
|
||||||
(add-hook 'web-mode-hook 'flycheck-mode)
|
(add-hook 'web-mode-hook 'flycheck-mode)
|
||||||
(add-hook 'web-mode-hook 'electric-pair-local-mode)
|
(add-hook 'web-mode-hook 'electric-pair-local-mode)
|
||||||
|
|
Loading…
Reference in a new issue