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.
This commit is contained in:
Itai Y. Efrat 2021-07-25 11:50:45 +03:00
parent 4ac5332a1d
commit 83858fcaf9

View file

@ -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" ) " ")))