From 4575cbef057882a22d1d9f9a6bbfdc6f08ea03fd Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Tue, 18 Jun 2019 17:30:08 +0200 Subject: [PATCH] Add rg check to core/doctor.el --- core/doctor.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/core/doctor.el b/core/doctor.el index d5466a28e..3a611a1cd 100644 --- a/core/doctor.el +++ b/core/doctor.el @@ -18,8 +18,10 @@ (/ size 1024)) (explain! "Consider deleting it from your system (manually)")))) -(when (not (executable-find doom-projectile-fd-binary)) - (warn! "Couldn't find the `fd' binary; project file searches will be slightly slower")) +(unless (executable-find doom-projectile-fd-binary) + (warn! "Couldn't find the `fd' binary; project file searches will be slightly slower") + (unless (executable-find "rg") + (warn! "Couldn't find the `rg' binary either; project file searches will be even slower"))) (let ((default-directory "~")) (require 'projectile)