selectrum: fix +selectrum-file-search

This commit is contained in:
Itai Y. Efrat 2021-04-10 19:13:40 +03:00
parent d1f241479c
commit 4aaf7e571c
2 changed files with 2 additions and 4 deletions

View file

@ -1,11 +1,9 @@
* PROJ List of things not working * PROJ List of things not working
** TODO =SPC s p=
** TODO Start-up with recent files ** TODO Start-up with recent files
** TODO Add vanilla keybindings ** TODO Add vanilla keybindings
*** TODO Add keybinding for embark-act *** TODO Add keybinding for embark-act
** TODO ~+orderless~ doesn't work ** TODO ~+orderless~ doesn't work
** TODO ~+prescient~ causes marginalia to not be loaded automatically. ** TODO ~+prescient~ causes marginalia to not be loaded automatically.
** TODO ~+selectrum-file-search~
* PROJ List of things needed for Ivy parity * PROJ List of things needed for Ivy parity
** TODO Icons ** TODO Icons
https://github.com/minad/marginalia/issues/59 https://github.com/minad/marginalia/issues/59

View file

@ -31,7 +31,7 @@ one face."
(concat (if all-files "-uu") (concat (if all-files "-uu")
(unless recursive "--maxdepth 1") (unless recursive "--maxdepth 1")
"--null --line-buffered --color=always --max-columns=500 --no-heading --line-number" "--null --line-buffered --color=always --max-columns=500 --no-heading --line-number"
" --hidden -g!.git " " --hidden -g !.git "
(mapconcat #'shell-quote-argument args " "))) (mapconcat #'shell-quote-argument args " ")))
" ")) " "))
(prompt (or prompt (prompt (or prompt
@ -52,7 +52,7 @@ one face."
"\\\\\\\\|") "\\\\\\\\|")
((concat "\\\\" substr)))) ((concat "\\\\" substr))))
(rxt-quote-pcre (doom-thing-at-point-or-region)))))) (rxt-quote-pcre (doom-thing-at-point-or-region))))))
(ripgrep-command `("rg" ,@args "." "-e"))) (ripgrep-command (mapconcat #'identity `("rg" ,@args "." "-e ARG OPTS" ) " ")))
(consult--grep prompt ripgrep-command directory query))) (consult--grep prompt ripgrep-command directory query)))
;;;###autoload ;;;###autoload