branch: externals/company commit 8bd34f8e73957bb7d5234564a45175c171016e63 Author: Dmitry Gutov <dmi...@gutov.dev> Commit: Dmitry Gutov <dmi...@gutov.dev>
company-diag: Update to pass the suffix to `candidates` --- company.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/company.el b/company.el index a9155c7e11..ddad6422d6 100644 --- a/company.el +++ b/company.el @@ -3419,7 +3419,9 @@ If SHOW-VERSION is non-nil, show the version in the echo area." (when (or (stringp prefix) (consp prefix)) (let ((company-backend backend)) (condition-case nil - (setq cc (company-call-backend 'candidates (company--prefix-str prefix)) + (setq cc (company-call-backend 'candidates + (company--prefix-str prefix) + (company--suffix-str prefix)) annotations (mapcar (lambda (c) (cons c (company-call-backend 'annotation c)))