Created
September 25, 2015 05:48
-
-
Save mjason/ff54833b018df0020688 to your computer and use it in GitHub Desktop.
react native emacs setting
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
;; please install web-mode | |
;; in your .emacs.d/init.el | |
(add-to-list 'auto-mode-alist '(".*/react/.*\\.js[x]?\\'" . web-mode)) | |
(setq web-mode-content-types-alist | |
'(("jsx" . "/.*/react/.*\\.js[x]?\\'"))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment