mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-26 16:41:04 -05:00
fix(vertico): search for ripgrep on remote machine
When default-directory is is located on a remote host, we should search for "rg" on the remote host. (executable-find) without the optional 't' will search only on the local host. Fix: #8525
This commit is contained in:
committed by
Henrik Lissner
parent
1b6b8c5fde
commit
f782b0d021
@@ -17,7 +17,7 @@
|
||||
:args LIST
|
||||
Arguments to be appended to `consult-ripgrep-args'."
|
||||
(declare (indent defun))
|
||||
(unless (executable-find "rg")
|
||||
(unless (executable-find "rg" t)
|
||||
(user-error "Couldn't find ripgrep in your PATH"))
|
||||
(require 'consult)
|
||||
(setq deactivate-mark t)
|
||||
|
Reference in New Issue
Block a user