diff options
author | Alan Pearce | 2016-05-03 15:51:14 +0200 |
---|---|---|
committer | Alan Pearce | 2016-05-03 15:51:14 +0200 |
commit | c7a09150f06f60ee8be583437a145dff25ee48c2 (patch) | |
tree | b6df9338dd2e8ad7977fd76ef5f3a5abe40481e1 | |
parent | 664350b7ac450e80d58507b6a178231047896de2 (diff) | |
download | dotfiles-c7a09150f06f60ee8be583437a145dff25ee48c2.tar.lz dotfiles-c7a09150f06f60ee8be583437a145dff25ee48c2.tar.zst dotfiles-c7a09150f06f60ee8be583437a145dff25ee48c2.zip |
Emacs: Open scripts with node shebang in js2-mode
-rw-r--r-- | tag-emacs/emacs.d/init.org | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org index 9e6b318..7903657 100644 --- a/tag-emacs/emacs.d/init.org +++ b/tag-emacs/emacs.d/init.org @@ -1821,6 +1821,7 @@ it though (use-package js2-mode :mode (("\\.js\\'" . js2-mode) ("\\.jsx\\'" . js2-jsx-mode)) + :interpreter ("node" . js2-mode) :functions js2-next-error :config (progn (defun ap/javascript-setup () |