Skip to content

Commit

Permalink
undo the flycheck hack. Closes #17
Browse files Browse the repository at this point in the history
  • Loading branch information
felipeochoa committed Nov 15, 2016
1 parent 86549c1 commit 20c7bd0
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions rjsx-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,6 @@ the `:around' combinator. JS2-PARSER is the original XML parser."
"Remove the rjsx advice on the js2 parser. This will cause rjsx to stop working globally."
(advice-remove 'js2-parse-xml-initializer #'rjsx-parse-xml-initializer))

(with-eval-after-load 'flycheck
(dolist (checker flycheck-checkers)
(when (memq 'js2-mode (flycheck-checker-get checker 'modes))
(push 'rjsx-mode (flycheck-checker-get checker 'modes)))))

(defface rjsx-tag
'((t . (:inherit font-lock-function-name-face)))
Expand Down

0 comments on commit 20c7bd0

Please sign in to comment.