mirror of
https://github.com/Foltik/dotfiles
synced 2024-11-27 13:13:12 -05:00
Replace js2-mode with rjsx-mode
This commit is contained in:
parent
626fe9737f
commit
6ab13142fe
@ -244,7 +244,7 @@ doesn't cover properly by default.
|
|||||||
image-dired
|
image-dired
|
||||||
info
|
info
|
||||||
ivy
|
ivy
|
||||||
js2-mode
|
rjsx-mode
|
||||||
log-view
|
log-view
|
||||||
man
|
man
|
||||||
neotree
|
neotree
|
||||||
@ -1180,9 +1180,10 @@ Jedi for autocompletion sources in python-mode.
|
|||||||
:company python-mode)
|
:company python-mode)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
*** Javascript
|
*** 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
|
#+BEGIN_SRC emacs-lisp
|
||||||
(use-package js2-mode
|
(use-package rjsx-mode
|
||||||
|
:pin melpa
|
||||||
:mode "\\.js\\'"
|
:mode "\\.js\\'"
|
||||||
:interpreter "node")
|
:interpreter "node")
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
Loading…
Reference in New Issue
Block a user