Fallback engine detection for +ivy file search
This commit is contained in:
parent
9408062f60
commit
5ce249eaec
1 changed files with 3 additions and 0 deletions
|
@ -25,6 +25,9 @@
|
||||||
(directory (or directory project-root))
|
(directory (or directory project-root))
|
||||||
(recursion-p +ivy--file-search-recursion-p)
|
(recursion-p +ivy--file-search-recursion-p)
|
||||||
(all-files-p +ivy--file-search-all-files-p)
|
(all-files-p +ivy--file-search-all-files-p)
|
||||||
|
(engine (or engine
|
||||||
|
(and (executable-find "rg") 'rg)
|
||||||
|
(and (executable-find "ag") 'ag)))
|
||||||
(query
|
(query
|
||||||
(or query
|
(or query
|
||||||
(if (evil-visual-state-p)
|
(if (evil-visual-state-p)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue