1
0
mirror of https://github.com/Foltik/dotfiles synced 2024-11-23 20:20:53 -05:00

Replace js2-mode with rjsx-mode

This commit is contained in:
Jack Foltz 2019-07-09 19:05:01 -04:00
parent 626fe9737f
commit 6ab13142fe
Signed by: foltik
GPG Key ID: D1F0331758D1F29A

View File

@ -244,7 +244,7 @@ doesn't cover properly by default.
image-dired
info
ivy
js2-mode
rjsx-mode
log-view
man
neotree
@ -1180,9 +1180,10 @@ Jedi for autocompletion sources in python-mode.
:company python-mode)
#+END_SRC
*** Javascript
[[https://github.com/mooz/js2-mode][js2-mode]] improves the default js mode.
rjsx-mode includes a javascript mode with support for react jsx files.
#+BEGIN_SRC emacs-lisp
(use-package js2-mode
(use-package rjsx-mode
:pin melpa
:mode "\\.js\\'"
:interpreter "node")
#+END_SRC