From 3400d07efdefcfcccfc510cc4b25f133cd3b35ff Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Sun, 28 Jun 2015 23:30:47 -0700 Subject: [PATCH] refactor js2 variable setqs. --- dotfiles/emacs.d/init.el | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/dotfiles/emacs.d/init.el b/dotfiles/emacs.d/init.el index 053422cb..fdb7ef85 100644 --- a/dotfiles/emacs.d/init.el +++ b/dotfiles/emacs.d/init.el @@ -1664,16 +1664,15 @@ window is active in the perspective." (("C-c b" . web-beautify-js)) :init (progn - (setq js2-bounce-indent-p nil) - (setq js2-basic-offset 4) - (setq js2-indent-level 4) - (setq js2-basic-offset 4) - (setq indent-tabs-mode nil) - (setq js2-highlight-level 3 + (setq js2-bounce-indent-p nil + js2-basic-offset 4 + js2-indent-level 4 + js2-basic-offset 4 + js2-highlight-level 3 js2-include-node-externs t js2-mode-show-parse-errors nil - js2-mode-show-strict-warnings nil - jshint-configuration-path "~/Uber/dispatch") + js2-mode-show-strict-warnings nil) + ;; jshint-configuration-path "~/Uber/dispatch" (add-hook 'js-mode-hook 'js2-minor-mode) (add-hook 'js2-mode-hook (lambda () (tern-mode t))) (add-hook 'js2-mode-hook 'skewer-mode)