1 files changed, 3 insertions(+), 0 deletions(-)
M init.el
M init.el => init.el +3 -0
@@ 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)