branch: master
commit ef189f1eeb56abfc108c1fff5902ebbc3bd013aa
Author: Oleh Krehel <[email protected]>
Commit: Oleh Krehel <[email protected]>
ivy.el (ivy-count-format): Extend customize choices
---
ivy.el | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/ivy.el b/ivy.el
index 59a02bd..c35ef52 100644
--- a/ivy.el
+++ b/ivy.el
@@ -75,7 +75,11 @@
Set this to nil if you don't want the count. You can also set it
to e.g. \"(%d/%d) \" if you want to see both the candidate index
and the candidate count."
- :type '(choice (const :tag "Count disabled" nil) string))
+ :type '(choice
+ (const :tag "Count disabled" nil)
+ (const :tag "Count matches" "%-4d ")
+ (const :tag "Count matches and show current match" "(%d/%d) ")
+ string))
(defcustom ivy-wrap nil
"Whether to wrap around after the first and last candidate."