Add js2-refactor config
This commit is contained in:
parent
6b9b2d9750
commit
ce2d2cf604
@ -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")
|
||||||
|
Loading…
Reference in New Issue
Block a user