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:
parent
4ac5332a1d
commit
83858fcaf9
1 changed files with 2 additions and 5 deletions
|
@ -49,11 +49,8 @@ orderless."
|
||||||
(when (doom-region-active-p)
|
(when (doom-region-active-p)
|
||||||
(replace-regexp-in-string
|
(replace-regexp-in-string
|
||||||
"[! |]" (lambda (substr)
|
"[! |]" (lambda (substr)
|
||||||
(cond ((and (string= substr " ")
|
(cond ((string= substr " ") " ")
|
||||||
(not (featurep! +fuzzy)))
|
((string= substr "|") "\\\\\\\\|")
|
||||||
" ")
|
|
||||||
((string= substr "|")
|
|
||||||
"\\\\\\\\|")
|
|
||||||
((concat "\\\\" substr))))
|
((concat "\\\\" substr))))
|
||||||
(rxt-quote-pcre (doom-thing-at-point-or-region))))))
|
(rxt-quote-pcre (doom-thing-at-point-or-region))))))
|
||||||
(ripgrep-command (mapconcat #'identity `("rg" ,@args "." "-e ARG OPTS" ) " ")))
|
(ripgrep-command (mapconcat #'identity `("rg" ,@args "." "-e ARG OPTS" ) " ")))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue