summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2016-05-03 15:58:18 +0200
committerAlan Pearce2016-05-03 15:58:18 +0200
commit124df1cd0d339ae3e8fb164e5b7b0450b5b3a6d4 (patch)
tree07e42bf8f0e92513fb43560272345b821f2e09c1
parentc7a09150f06f60ee8be583437a145dff25ee48c2 (diff)
downloadnixfiles-124df1cd0d339ae3e8fb164e5b7b0450b5b3a6d4.tar.lz
nixfiles-124df1cd0d339ae3e8fb164e5b7b0450b5b3a6d4.tar.zst
nixfiles-124df1cd0d339ae3e8fb164e5b7b0450b5b3a6d4.zip
Emacs: Skip shebangs in js2-mode
-rw-r--r--tag-emacs/emacs.d/init.org1
1 files changed, 1 insertions, 0 deletions
diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org
index 79036576..e933719f 100644
--- a/tag-emacs/emacs.d/init.org
+++ b/tag-emacs/emacs.d/init.org
@@ -1824,6 +1824,7 @@ it though
     :interpreter ("node" . js2-mode)
     :functions js2-next-error
     :config (progn
+              (setq js2-skip-preprocessor-directives t)
               (defun ap/javascript-setup ()
                 (auto-indent-mode -1))
               (defun ap/js2-prev-error ()