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
1 files changed, 1 insertions(+), 2 deletions(-)
jump to
M emacs/.emacs.d/main.el → emacs/.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