From 124df1cd0d339ae3e8fb164e5b7b0450b5b3a6d4 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Tue, 3 May 2016 15:58:18 +0200 Subject: Emacs: Skip shebangs in js2-mode --- tag-emacs/emacs.d/init.org | 1 + 1 file changed, 1 insertion(+) diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org index 7903657..e933719 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 () -- cgit 1.4.1