Skip to content

Instantly share code, notes, and snippets.

@ubolonton
Last active August 29, 2015 14:02
Show Gist options
  • Save ubolonton/41ce3e60d0b0f44df142 to your computer and use it in GitHub Desktop.
Save ubolonton/41ce3e60d0b0f44df142 to your computer and use it in GitHub Desktop.
(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