From b10f23a67e192fabac189a4967d02851d991d95b Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Fri, 29 Sep 2017 03:54:27 -0400 Subject: [PATCH] Add tern/company-tern config --- .emacs.d/init.el | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 30eb32b..9908bd8 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -566,6 +566,12 @@ :config (setq js2-basic-offset 2)) +(use-package company-tern + :config + (add-to-list 'company-backends 'company-tern) + (setq company-tern-property-marker "⚫") + (add-hook 'js2-mode-hook (lambda () (tern-mode t)))) + ;;; Local Variables (add-to-list 'safe-local-eval-forms '(outline-hide-body)) ;; Local Variables: