Last active
July 13, 2017 10:26
-
-
Save nidate/d4177c02fe29cec010126185e7771ba2 to your computer and use it in GitHub Desktop.
emacs に prettier を入れる。
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; nvm環境で、npm install -g prettier | |
; M-x list-packages で nvm と prettierを追加 | |
; init.elに追加 | |
(require 'nvm) | |
(nvm-use "v6.11.0") | |
(add-hook 'js2-mode-hook 'prettier-js-mode) | |
(add-hook 'web-mode-hook 'prettier-js-mode) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment