Skip to content

Commit

Permalink
Reverts js2-mode being forced on jsx files
Browse files Browse the repository at this point in the history
  • Loading branch information
sdwolfz committed Aug 3, 2018
1 parent 6d8be7b commit ca04186
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layers/+lang/javascript/packages.el
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
(defun javascript/init-js2-mode ()
(use-package js2-mode
:defer t
:mode (("\\.m?js\\'" . js2-mode) ("\\.jsx\\'" . js2-mode))
:mode (("\\.m?js\\'" . js2-mode))
:init
(progn
(add-hook 'js2-mode-local-vars-hook #'spacemacs//javascript-setup-backend)
Expand Down

0 comments on commit ca04186

Please sign in to comment.