fix(vertico): use remote fd in tramp buffers

This commit is contained in:
Henrik Lissner 2024-02-13 20:41:37 -05:00 committed by Yann Esposito (Yogsototh)
parent 9a56a6feee
commit 3ccc70adc6
Signed by untrusted user who does not match committer: yogsototh
GPG key ID: 7B19A4C650D59646

View file

@ -145,15 +145,14 @@ orderless."
consult-async-min-input 2 consult-async-min-input 2
consult-async-refresh-delay 0.15 consult-async-refresh-delay 0.15
consult-async-input-throttle 0.2 consult-async-input-throttle 0.2
consult-async-input-debounce 0.1) consult-async-input-debounce 0.1
(if doom-projectile-fd-binary consult-fd-args
(setq consult-fd-args '((if (executable-find "fdfind" 'remote) "fdfind" "fd")
'(doom-projectile-fd-binary "--color=never"
"--color=never" ;; https://github.com/sharkdp/fd/issues/839
;; https://github.com/sharkdp/fd/issues/839 "--full-path --absolute-path"
"--full-path --absolute-path" "--hidden --exclude .git"
"--hidden --exclude .git" (if (featurep :system 'windows) "--path-separator=/")))
(if (featurep :system 'windows) "--path-separator=/"))))
(consult-customize (consult-customize
consult-ripgrep consult-git-grep consult-grep consult-ripgrep consult-git-grep consult-grep