summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--tag-emacs/emacs.d/init.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el
index cdb8500c..f2cc3c31 100644
--- a/tag-emacs/emacs.d/init.el
+++ b/tag-emacs/emacs.d/init.el
@@ -1395,7 +1395,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 '("require" "module"))))
+                  js2-include-node-externs t)))
 
 (req-package tern
   :config (progn