summary refs log tree commit diff stats
path: root/emacs
diff options
context:
space:
mode:
authorAlan Pearce2018-06-22 13:50:35 +0200
committerAlan Pearce2018-06-22 13:50:35 +0200
commit06a4cfad4e41aab209fb32934c7603ddc6759451 (patch)
tree00e31d37c8760f09ce6181cdd5ac76b512c2fb3f /emacs
parentddbeb4599827d352a3fd3b463c3a1e8ffed5f425 (diff)
downloadnixfiles-06a4cfad4e41aab209fb32934c7603ddc6759451.tar.lz
nixfiles-06a4cfad4e41aab209fb32934c7603ddc6759451.tar.zst
nixfiles-06a4cfad4e41aab209fb32934c7603ddc6759451.zip
Emacs: don't use tern in web-mode
I don't write JavaScript in HTML any more
Diffstat (limited to 'emacs')
-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 29315281..481eb9b3 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