branch: externals/marginalia commit c940a49dbda97b078c240b7a7a076588e2adb30f Author: Daniel Mendler <m...@daniel-mendler.de> Commit: Daniel Mendler <m...@daniel-mendler.de>
Use more restricted regexp to detect remote completion --- marginalia.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/marginalia.el b/marginalia.el index dfe5ac5..f052a0d 100644 --- a/marginalia.el +++ b/marginalia.el @@ -649,7 +649,7 @@ component of a full file path." (defun marginalia--remote-p (path) "Return t if PATH is a remote path." - (string-match-p "\\`/[^:]+:" (substitute-in-file-name path))) + (string-match-p "\\`/[^/|:]+:" (substitute-in-file-name path))) (defun marginalia-annotate-file (cand) "Annotate file CAND with its size, modification time and other attributes.