Mark tern command as async. Fixes #7591.

This commit is contained in:
Corey Grunewald 2016-10-29 13:03:54 -07:00 committed by d12frosted
parent a5c486364b
commit b67118c8ca
No known key found for this signature in database
GPG key ID: 8F60E862D6F5CE8F

View file

@ -15,7 +15,7 @@
(defun spacemacs//set-tern-key-bindings (mode)
"Set the key bindings for tern and the given MODE."
(add-to-list (intern (format "spacemacs-jump-handlers-%S" mode))
'tern-find-definition)
'(tern-find-definition :async t))
(spacemacs/set-leader-keys-for-major-mode mode
"rrV" 'tern-rename-variable
"hd" 'tern-get-docs