Add web-mode
This commit is contained in:
parent
da8395a706
commit
747af2548b
8
init.el
8
init.el
|
@ -581,6 +581,14 @@
|
|||
(with-eval-after-load 'meow
|
||||
(add-to-list 'meow-mode-state-list '(sldb-mode . motion))))
|
||||
|
||||
(use-package web-mode
|
||||
:mode ("\\.[jt]sx?\\'" . web-mode)
|
||||
:custom
|
||||
(web-mode-css-indent-offset 2)
|
||||
(web-mode-code-indent-offset 2)
|
||||
(web-mode-markup-indent-offset 2)
|
||||
:hook (web-mode . (lambda () (setq-local tab-width 2))))
|
||||
|
||||
(use-package lua-mode
|
||||
:custom
|
||||
(lua-indent-level 4)
|
||||
|
|
Loading…
Reference in a new issue