X-Git-Url: https://code.delx.au/gnu-emacs-elpa/blobdiff_plain/8dd28885e9e27463ed358d977a58eb3511b0d17c..41ef088456675919e4b56a41f964d50a81a781dc:/packages/company/company-yasnippet.el diff --git a/packages/company/company-yasnippet.el b/packages/company/company-yasnippet.el index 4730b211b..741a16008 100644 --- a/packages/company/company-yasnippet.el +++ b/packages/company/company-yasnippet.el @@ -82,7 +82,10 @@ shadow back-ends that come after it. Recommended usages: ;; How many trigger keys start with non-symbol characters anyway? (and yas-minor-mode (company-grab-symbol))) - (annotation (concat " -> " (get-text-property 0 'yas-annotation arg))) + (annotation + (concat + (unless company-tooltip-align-annotations " -> ") + (get-text-property 0 'yas-annotation arg))) (candidates (company-yasnippet--candidates arg)) (post-completion (let ((template (get-text-property 0 'yas-template arg)))