From d3c7e49b6904f8767d8d7c8a8c5162add0c18478 Mon Sep 17 00:00:00 2001 From: David Florness Date: Wed, 21 Dec 2016 21:25:56 -0600 Subject: [PATCH] Auto install dependencies for tern --- init.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/init.el b/init.el index 75964ae..2cae592 100644 --- a/init.el +++ b/init.el @@ -79,6 +79,9 @@ (add-to-list 'company-backends 'company-c-headers) ;;; Load tern server (for javascript ide-like features) +(cd "./tern") +(shell-command "npm install") +(cd "../") (add-to-list 'load-path "./tern/emacs") (autoload 'tern-mode "tern.el" nil t) -- 2.38.4