add .mjs (ES6 module) extension to init-js2-mode
This commit is contained in:
parent
3e4b35a46d
commit
e1a6e8be1c
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@
|
|||
(defun javascript/init-js2-mode ()
|
||||
(use-package js2-mode
|
||||
:defer t
|
||||
:mode "\\.js\\'"
|
||||
:mode "\\.[m]*js\\'"
|
||||
:init
|
||||
(progn
|
||||
(add-hook 'js2-mode-local-vars-hook
|
||||
|
|
Reference in a new issue