lang/javascript: new :mode for rjsx-mode
This commit is contained in:
parent
d6db681e30
commit
787bff853a
1 changed files with 1 additions and 0 deletions
|
@ -101,6 +101,7 @@
|
||||||
(def-package! rjsx-mode
|
(def-package! rjsx-mode
|
||||||
:commands rjsx-mode
|
:commands rjsx-mode
|
||||||
:mode "\\.jsx$"
|
:mode "\\.jsx$"
|
||||||
|
:mode "components/.+\\.js$"
|
||||||
:config
|
:config
|
||||||
;; disable electric keys (I use snippets and `emmet-mode' instead)
|
;; disable electric keys (I use snippets and `emmet-mode' instead)
|
||||||
(define-key rjsx-mode-map "<" nil)
|
(define-key rjsx-mode-map "<" nil)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue