all repos — nixfiles @ c7a09150f06f60ee8be583437a145dff25ee48c2

System and user configuration, managed by nix and home-manager

Emacs: Open scripts with node shebang in js2-mode

Alan Pearce
commit

c7a09150f06f60ee8be583437a145dff25ee48c2

parent

664350b7ac450e80d58507b6a178231047896de2

1 file changed, 1 insertion(+), 0 deletions(-)

jump to
M tag-emacs/emacs.d/init.orgtag-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 ()