all repos — nixfiles @ a4b690f924e3f064bf472f22368cabb1b2d54963

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

Emacs: Configure js2-mode to work with node

Alan Pearce
commit

a4b690f924e3f064bf472f22368cabb1b2d54963

parent

33c0e9699951140bddb9f408bd9a2a7b5deacf7f

1 file changed, 1 insertion(+), 1 deletion(-)

jump to
M tag-emacs/emacs.d/init.eltag-emacs/emacs.d/init.el
@@ -1391,7 +1391,7 @@ (autopair-mode -1)
(auto-indent-mode -1)) (add-hook 'js2-mode-hook #'ap/javascript-setup) (setq js2-basic-offset 4 - js2-global-externs '("$")))) + js2-global-externs '("require" "module")))) (req-package tern :config (progn