all repos — archive/dotfiles @ 124df1cd0d339ae3e8fb164e5b7b0450b5b3a6d4

Superseded by nixfiles

Emacs: Skip shebangs in js2-mode
Alan Pearce alan.pearce@spotcap.com
Tue, 03 May 2016 15:58:18 +0200
commit

124df1cd0d339ae3e8fb164e5b7b0450b5b3a6d4

parent

c7a09150f06f60ee8be583437a145dff25ee48c2

1 files changed, 1 insertions(+), 0 deletions(-)

jump to
M tag-emacs/emacs.d/init.orgtag-emacs/emacs.d/init.org
@@ -1824,6 +1824,7 @@ ("\\.jsx\\'" . js2-jsx-mode))     :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 ()