@@ 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.