diff options
author | Alan Pearce | 2015-05-06 16:29:27 +0200 |
---|---|---|
committer | Alan Pearce | 2015-05-06 16:29:27 +0200 |
commit | a4b690f924e3f064bf472f22368cabb1b2d54963 (patch) | |
tree | 28744c91013ee3d20898e9e6042609c808f02f75 | |
parent | 33c0e9699951140bddb9f408bd9a2a7b5deacf7f (diff) | |
download | nixfiles-a4b690f924e3f064bf472f22368cabb1b2d54963.tar.lz nixfiles-a4b690f924e3f064bf472f22368cabb1b2d54963.tar.zst nixfiles-a4b690f924e3f064bf472f22368cabb1b2d54963.zip |
Emacs: Configure js2-mode to work with node
-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 271c257c..aa1876fc 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 |