Add tern/company-tern config
This commit is contained in:
parent
f7a3f02ed6
commit
b10f23a67e
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user