refactor js2 variable setqs.

This commit is contained in:
Ivan Malison 2015-06-28 23:30:47 -07:00
parent fa803b2c14
commit 3400d07efd

View File

@ -1664,16 +1664,15 @@ window is active in the perspective."
(("C-c b" . web-beautify-js)) (("C-c b" . web-beautify-js))
:init :init
(progn (progn
(setq js2-bounce-indent-p nil) (setq js2-bounce-indent-p nil
(setq js2-basic-offset 4) js2-basic-offset 4
(setq js2-indent-level 4) js2-indent-level 4
(setq js2-basic-offset 4) js2-basic-offset 4
(setq indent-tabs-mode nil) js2-highlight-level 3
(setq js2-highlight-level 3
js2-include-node-externs t js2-include-node-externs t
js2-mode-show-parse-errors nil js2-mode-show-parse-errors nil
js2-mode-show-strict-warnings nil js2-mode-show-strict-warnings nil)
jshint-configuration-path "~/Uber/dispatch") ;; jshint-configuration-path "~/Uber/dispatch"
(add-hook 'js-mode-hook 'js2-minor-mode) (add-hook 'js-mode-hook 'js2-minor-mode)
(add-hook 'js2-mode-hook (lambda () (tern-mode t))) (add-hook 'js2-mode-hook (lambda () (tern-mode t)))
(add-hook 'js2-mode-hook 'skewer-mode) (add-hook 'js2-mode-hook 'skewer-mode)