Emacs: Open scripts with node shebang in js2-mode
Alan Pearce alan.pearce@spotcap.com
Tue, 03 May 2016 15:51:14 +0200
1 files changed, 1 insertions(+), 0 deletions(-)
jump to
M tag-emacs/emacs.d/init.org → tag-emacs/emacs.d/init.org
@@ -1821,6 +1821,7 @@ #+BEGIN_SRC emacs-lisp (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 ()