all repos — nixfiles @ 06a4cfad4e41aab209fb32934c7603ddc6759451

System and user configuration, managed by nix and home-manager

Emacs: don't use tern in web-mode

I don't write JavaScript in HTML any more
Alan Pearce alan@alanpearce.eu
Fri, 22 Jun 2018 13:50:35 +0200
commit

06a4cfad4e41aab209fb32934c7603ddc6759451

parent

ddbeb4599827d352a3fd3b463c3a1e8ffed5f425

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

jump to
M emacs/.emacs.d/main.elemacs/.emacs.d/main.el
@@ -2058,8 +2058,7 @@ :defer 5   :config (progn
             (setq tern-command (list (executable-find "tern")))
             (create-hook-helper tern-mode-on ()
-              :hooks (web-mode-hook
-                      js2-mode-hook)
+              :hooks (js2-mode-hook)
               (tern-mode +1))))
 
 (with-eval-after-load 'tern