~edwargix/emacs.d

ab34d613c14bfa0ed5449979e829819a0c69edef — David Florness 9 years ago 817c518
Auto install tern for company
1 files changed, 5 insertions(+), 1 deletions(-)

M init.el
M init.el => init.el +5 -1
@@ 78,12 78,16 @@
(require 'company-c-headers)
(add-to-list 'company-backends 'company-c-headers)

;;; Install company backend for javascript
(package-install 'company-tern)
(add-to-list 'company-backends 'company-tern)

(custom-set-variables
 ;; custom-set-variables was added by Custom.
 ;; If you edit it by hand, you could mess it up, so be careful.
 ;; Your init file should contain only one such instance.
 ;; If there is more than one, they won't work right.
 '(package-selected-packages (quote (company))))
 '(package-selected-packages (quote (company-tern company))))
(custom-set-faces
 ;; custom-set-faces was added by Custom.
 ;; If you edit it by hand, you could mess it up, so be careful.