branch: externals/vertico commit c08bb928f27008aa4ce0e07e79d455903e762da1 Author: Daniel Mendler <m...@daniel-mendler.de> Commit: Daniel Mendler <m...@daniel-mendler.de>
Use more restricted regexp to detect remote completion --- vertico.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vertico.el b/vertico.el index 997a8fc..866f858 100644 --- a/vertico.el +++ b/vertico.el @@ -316,7 +316,7 @@ ;; If Tramp is used, do not compute the candidates in an interruptible fashion, ;; since this will break the Tramp password and user name prompts (See #23). (if (and (eq 'file (completion-metadata-get metadata 'category)) - (string-match-p "\\`/[^:]+:" (substitute-in-file-name content))) + (string-match-p "\\`/[^/|:]+:" (substitute-in-file-name content))) (vertico--recompute-candidates pt content bounds metadata) ;; bug#38024: Icomplete uses `while-no-input-ignore-events' to repair updating issues (let ((while-no-input-ignore-events '(selection-request))