diff options
author | Alan Pearce | 2015-05-11 16:55:56 +0200 |
---|---|---|
committer | Alan Pearce | 2015-05-11 16:55:56 +0200 |
commit | 95b6c1dc702d55f4e5a86e134270e7efea7bda70 (patch) | |
tree | f0c08763233ca1f6c86b3b5b1c0ede3b3f68adf2 /tag-emacs | |
parent | ba072244ef31334ba07db9d4f646f8149a660fcc (diff) | |
download | nixfiles-95b6c1dc702d55f4e5a86e134270e7efea7bda70.tar.lz nixfiles-95b6c1dc702d55f4e5a86e134270e7efea7bda70.tar.zst nixfiles-95b6c1dc702d55f4e5a86e134270e7efea7bda70.zip |
Emacs: Use node externs in js2-mode
Diffstat (limited to 'tag-emacs')
-rw-r--r-- | tag-emacs/emacs.d/init.el | 2 |
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 |