no tabs in js.

This commit is contained in:
Ivan Malison 2015-06-15 05:06:59 -07:00
parent b7ca34b389
commit c43570eb00

View File

@ -1574,6 +1574,7 @@ window is active in the perspective."
(setq js2-basic-offset 4)
(setq js2-indent-level 4)
(setq js2-basic-offset 4)
(setq indent-tabs-mode nil)
(use-package skewer-mode
:ensure t
:commands skewer-mode)
@ -1581,6 +1582,7 @@ window is active in the perspective."
(add-hook 'js2-mode-hook (lambda () (tern-mode t)))
(add-hook 'js2-mode-hook 'skewer-mode)
(add-hook 'js2-mode-hook (lambda () (setq js-indent-level 4)
(setq indent-tabs-mode nil)
(setq js2-indent-level 4)
(setq js2-basic-offset 4)))
(use-package tern