From 95b6c1dc702d55f4e5a86e134270e7efea7bda70 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Mon, 11 May 2015 16:55:56 +0200 Subject: Emacs: Use node externs in js2-mode --- tag-emacs/emacs.d/init.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit 1.4.1