diff options
| author | 2019-03-03 10:35:18 -0800 | |
|---|---|---|
| committer | 2019-03-03 10:35:18 -0800 | |
| commit | 26a1b90fc3381c9c9f76811f3382e6cd88a03d5d (patch) | |
| tree | 76af9d1befdc4f846f95e748f896271ab8b02952 | |
| parent | 92f1b9689084c08de6898a6659dd1219542580f8 (diff) | |
| download | emacs-config-26a1b90fc3381c9c9f76811f3382e6cd88a03d5d.tar.gz emacs-config-26a1b90fc3381c9c9f76811f3382e6cd88a03d5d.zip | |
Add rjsx-mode to JS configuration
| -rw-r--r-- | oni-js.el | 5 |
1 files changed, 4 insertions, 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 @@ -70,6 +70,9 @@ (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"))) |
