[submodule "s"]
path = packages/s
url = https://github.com/magnars/s.el.git
+[submodule "js2-refactor"]
+ path = packages/js2-refactor
+ url = https://github.com/magnars/js2-refactor.el.git
(setq js2-mode-show-parse-errors nil)
(setq js2-mode-show-strict-warnings nil)
(setq js--declaration-keyword-re "x^") ; declarations should have normal indentation
+(require 'js2-refactor)
+(add-hook 'js2-mode-hook #'js2-refactor-mode)
+(js2r-add-keybindings-with-prefix "C-c C-m")
+(setq js2r-always-insert-parens-around-arrow-function-params t)
+(setq js2r-prefered-quote-type 2)
(when (require 'tern nil 'noerror)
(add-hook 'js2-mode-hook (lambda () (tern-mode t))))
(diminish 'highlight-symbol-mode)
(diminish 'indent-guide-mode)
(diminish 'ivy-mode)
+ (diminish 'js2-refactor-mode)
(diminish 'tern-mode)
(diminish 'yas-minor-mode)))