[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/vertico 0df75c0: Enter remote file components ending wi
From: |
ELPA Syncer |
Subject: |
[elpa] externals/vertico 0df75c0: Enter remote file components ending with ':' (#126) |
Date: |
Fri, 17 Sep 2021 13:57:29 -0400 (EDT) |
branch: externals/vertico
commit 0df75c0bbc545b1bd008718b1af2e6c0df18fe74
Author: JD Smith <93749+jdtsmith@users.noreply.github.com>
Commit: GitHub <noreply@github.com>
Enter remote file components ending with ':' (#126)
---
extensions/vertico-directory.el | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/extensions/vertico-directory.el b/extensions/vertico-directory.el
index 4cb9e41..313b37b 100644
--- a/extensions/vertico-directory.el
+++ b/extensions/vertico-directory.el
@@ -56,7 +56,10 @@
"Enter directory or exit completion with current candidate."
(interactive)
(if (and (>= vertico--index 0)
- (string-suffix-p "/" (vertico--candidate))
+ (let ((cand (vertico--candidate)))
+ (or (string-suffix-p "/" cand)
+ (and (vertico--remote-p cand)
+ (string-suffix-p ":" cand))))
(vertico-directory--completing-file-p))
(vertico-insert)
(vertico-exit)))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] externals/vertico 0df75c0: Enter remote file components ending with ':' (#126),
ELPA Syncer <=