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: