Add js2-refactor config

This commit is contained in:
Adam Goldsmith 2018-11-06 12:05:25 -05:00
parent 6b9b2d9750
commit ce2d2cf604

View File

@ -716,7 +716,11 @@
(use-package js2-mode (use-package js2-mode
:mode "\\.js\\'" :mode "\\.js\\'"
:config :config
(setq js2-basic-offset 2)) (setq js2-basic-offset 2)
(use-package js2-refactor
:hook (js2-mode . js2-refactor-mode)
:config
(js2r-add-keybindings-with-prefix "C-c C-m")))
(use-package nm (use-package nm
:quelpa (nm :fetcher github :repo "ad1217/nevermore" :branch "fix-deleted") :quelpa (nm :fetcher github :repo "ad1217/nevermore" :branch "fix-deleted")