From 83858fcaf9c5f03aa2a4661d62184cf14e199f39 Mon Sep 17 00:00:00 2001 From: "Itai Y. Efrat" Date: Sun, 25 Jul 2021 11:50:45 +0300 Subject: [PATCH] vertico: remove +fuzzy check in +vertico-file-search Doesn't do anything, it's a leftover from when the function was ported from the ivy module. --- modules/completion/vertico/autoload/vertico.el | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/modules/completion/vertico/autoload/vertico.el b/modules/completion/vertico/autoload/vertico.el index 1c02f1909..9c952a9e4 100644 --- a/modules/completion/vertico/autoload/vertico.el +++ b/modules/completion/vertico/autoload/vertico.el @@ -49,11 +49,8 @@ orderless." (when (doom-region-active-p) (replace-regexp-in-string "[! |]" (lambda (substr) - (cond ((and (string= substr " ") - (not (featurep! +fuzzy))) - " ") - ((string= substr "|") - "\\\\\\\\|") + (cond ((string= substr " ") " ") + ((string= substr "|") "\\\\\\\\|") ((concat "\\\\" substr)))) (rxt-quote-pcre (doom-thing-at-point-or-region)))))) (ripgrep-command (mapconcat #'identity `("rg" ,@args "." "-e ARG OPTS" ) " ")))