js: fix unityjs-mode shadowing js2-mode in auto-mode-alist
This commit is contained in:
parent
6a3252d902
commit
1f50211e5e
1 changed files with 4 additions and 4 deletions
|
@ -1,5 +1,9 @@
|
|||
;;; module-js.el
|
||||
|
||||
(use-package unityjs-mode
|
||||
:mode "/Assets/.*\\.js$"
|
||||
:config (add-hook 'unityjs-mode-hook 'flycheck-mode))
|
||||
|
||||
(use-package js2-mode
|
||||
:mode "\\.js$"
|
||||
:interpreter "node"
|
||||
|
@ -78,10 +82,6 @@
|
|||
;;
|
||||
(use-package jsx-mode :mode "\\.jsx$")
|
||||
|
||||
(use-package unityjs-mode
|
||||
:mode "/Assets/.*\\.js$"
|
||||
:config (add-hook 'unityjs-mode-hook 'flycheck-mode))
|
||||
|
||||
(use-package coffee-mode
|
||||
:mode "\\.coffee$"
|
||||
:config (setq-default coffee-indent-like-python-mode t))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue