Add rjsx-mode to JS configuration
This commit is contained in:
parent
92f1b96890
commit
26a1b90fc3
1 changed files with 4 additions and 1 deletions
|
@ -5,7 +5,7 @@
|
|||
;; Author: Tom Willemse <tom@ryuslash.org>
|
||||
;; Keywords: local
|
||||
;; Version: 20190224201011
|
||||
;; Package-Requires: (oni-company js2-mode js2-refactor flycheck fill-column-indicator tern company-tern fic-mode)
|
||||
;; Package-Requires: (oni-company js2-mode js2-refactor flycheck fill-column-indicator tern company-tern fic-mode rjsx-mode)
|
||||
|
||||
;; This program is free software; you can redistribute it and/or modify
|
||||
;; it under the terms of the GNU General Public License as published by
|
||||
|
@ -69,6 +69,9 @@
|
|||
;;;###autoload
|
||||
(add-to-list 'auto-mode-alist '("\\.js\\'" . js2-mode))
|
||||
|
||||
;;;###autoload
|
||||
(add-to-list 'auto-mode-alist '("\\.jsx\\'" . rjsx-mode))
|
||||
|
||||
;;;###autoload
|
||||
(with-eval-after-load 'grep
|
||||
(add-to-list 'grep-files-aliases '("js" . "*.js *.jsx *.json")))
|
||||
|
|
Loading…
Reference in a new issue