summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2018-06-22 13:50:35 +0200
committerAlan Pearce2018-06-22 13:50:35 +0200
commit06a4cfad4e41aab209fb32934c7603ddc6759451 (patch)
tree00e31d37c8760f09ce6181cdd5ac76b512c2fb3f
parentddbeb4599827d352a3fd3b463c3a1e8ffed5f425 (diff)
downloaddotfiles-06a4cfad4e41aab209fb32934c7603ddc6759451.tar.lz
dotfiles-06a4cfad4e41aab209fb32934c7603ddc6759451.tar.zst
dotfiles-06a4cfad4e41aab209fb32934c7603ddc6759451.zip
Emacs: don't use tern in web-mode
I don't write JavaScript in HTML any more
-rw-r--r--emacs/.emacs.d/main.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el
index 2931528..481eb9b 100644
--- a/emacs/.emacs.d/main.el
+++ b/emacs/.emacs.d/main.el
@@ -2058,8 +2058,7 @@ With two prefix arguments, write out the day and month name."
   :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