Skip to content

Instantly share code, notes, and snippets.

@bjpbakker
Created January 5, 2016 12:24
Show Gist options
  • Save bjpbakker/b5fdeb29298e860da2d3 to your computer and use it in GitHub Desktop.
Save bjpbakker/b5fdeb29298e860da2d3 to your computer and use it in GitHub Desktop.
(autoload 'web-mode "web-mode")
(add-to-list 'auto-mode-alist '("\\.jsx\\'" . web-mode))
(defadvice web-mode-highlight-part (around tweak-jsx activate)
(if (equal web-mode-content-type "jsx")
(let ((web-mode-enable-part-face nil))
ad-do-it)
ad-do-it))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment