forcing jsx content type, fixes #3163
This commit is contained in:
parent
14fd2b48e9
commit
15de481a80
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue