[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/corfu 722e4ba: Drop corfu-kind-formatter
From: |
ELPA Syncer |
Subject: |
[elpa] externals/corfu 722e4ba: Drop corfu-kind-formatter |
Date: |
Tue, 16 Nov 2021 00:57:10 -0500 (EST) |
branch: externals/corfu
commit 722e4ba4d6057e622348e33b180aa7feb9071c78
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>
Drop corfu-kind-formatter
---
corfu.el | 7 -------
1 file changed, 7 deletions(-)
diff --git a/corfu.el b/corfu.el
index a942a36..26fc0d6 100644
--- a/corfu.el
+++ b/corfu.el
@@ -623,13 +623,6 @@ A scroll bar is displayed from LO to LO+BAR."
(add-face-text-property 0 (length c) 'corfu-deprecated 'append
c)))
(cons mf cands)))
-(defun corfu-kind-formatter (fun)
- "Create a margin formatter from FUN.
-FUN takes a kind symbol as argument and must return a string."
- (lambda (_metadata)
- (when-let (kind (plist-get completion-extra-properties :company-kind))
- (lambda (cand) (funcall fun (funcall kind cand))))))
-
(defun corfu--metadata-get (prop)
"Return PROP from completion metadata."
;; Note: Do not use `completion-metadata-get' in order to avoid Marginalia.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] externals/corfu 722e4ba: Drop corfu-kind-formatter,
ELPA Syncer <=