Add rg check to core/doctor.el

This commit is contained in:
Henrik Lissner 2019-06-18 17:30:08 +02:00
parent 798e10c4f2
commit 4575cbef05
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -18,8 +18,10 @@
(/ size 1024)) (/ size 1024))
(explain! "Consider deleting it from your system (manually)")))) (explain! "Consider deleting it from your system (manually)"))))
(when (not (executable-find doom-projectile-fd-binary)) (unless (executable-find doom-projectile-fd-binary)
(warn! "Couldn't find the `fd' binary; project file searches will be slightly slower")) (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 "~")) (let ((default-directory "~"))
(require 'projectile) (require 'projectile)