Add tern/company-tern config

This commit is contained in:
Adam Goldsmith 2017-09-29 03:54:27 -04:00
parent f7a3f02ed6
commit b10f23a67e

View File

@ -566,6 +566,12 @@
:config :config
(setq js2-basic-offset 2)) (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 ;;; Local Variables
(add-to-list 'safe-local-eval-forms '(outline-hide-body)) (add-to-list 'safe-local-eval-forms '(outline-hide-body))
;; Local Variables: ;; Local Variables: