forcing jsx content type, fixes #3163

This commit is contained in:
David Mohl 2015-09-29 11:03:10 +09:00 committed by syl20bnr
parent 14fd2b48e9
commit 15de481a80
1 changed files with 2 additions and 0 deletions

View File

@ -72,6 +72,8 @@
(defun spacemacs//setup-react-mode ()
"Adjust web-mode to accommodate react-mode"
(emmet-mode 0)
;; Force jsx content type
(web-mode-set-content-type "jsx")
;; Why do we do this ?
(defadvice web-mode-highlight-part (around tweak-jsx activate)
(let ((web-mode-enable-part-face nil))