branch: master commit f00696aeeb23afc4f01b67f46ceb9da3f5f01314 Author: Oleh Krehel <ohwoeo...@gmail.com> Commit: Oleh Krehel <ohwoeo...@gmail.com>
ivy.el (ivy-extra-directories): Improve :type --- ivy.el | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/ivy.el b/ivy.el index ead3742..e6a9ac9 100644 --- a/ivy.el +++ b/ivy.el @@ -108,7 +108,10 @@ This is usually meant as a quick exit out of the minibuffer." (defcustom ivy-extra-directories '("../" "./") "Add this to the front of the list when completing file names. Only \"./\" and \"../\" apply here. They appear in reverse order." - :type 'list) + :type '(repeat :tag "Dirs" + (choice + (const :tag "Parent Directory" "../") + (const :tag "Current Directory" "./")))) (defcustom ivy-use-virtual-buffers nil "When non-nil, add `recentf-mode' and bookmarks to `ivy-switch-buffer'."