From c7a09150f06f60ee8be583437a145dff25ee48c2 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Tue, 3 May 2016 15:51:14 +0200 Subject: Emacs: Open scripts with node shebang in js2-mode --- tag-emacs/emacs.d/init.org | 1 + 1 file changed, 1 insertion(+) (limited to 'tag-emacs') 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 () -- cgit 1.4.1