From a4b690f924e3f064bf472f22368cabb1b2d54963 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Wed, 6 May 2015 16:29:27 +0200 Subject: Emacs: Configure js2-mode to work with node --- tag-emacs/emacs.d/init.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tag-emacs') diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el index 271c257..aa1876f 100644 --- a/tag-emacs/emacs.d/init.el +++ b/tag-emacs/emacs.d/init.el @@ -1391,7 +1391,7 @@ symbol, not word, as I need this for programming the most." (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 -- cgit 1.4.1