                     (dumb-jump-go))
                   successful))))
 
-        ((and identifier
-              (featurep 'counsel)
-              (let ((regex (rxt-quote-pcre identifier)))
-                (or (and +lookup--rg-installed-p
-                         (counsel-rg regex (doom-project-root)))
-                    (and +lookup--ag-installed-p
-                         (counsel-ag regex (doom-project-root)))))))
+        ((+lookup--file-search identifier))
 
         ((and (featurep 'evil)
               evil-mode

;;; feature/lookup/autoload/lookup.el -*- lexical-binding: t; -*-

(defvar +lookup--rg-installed-p (executable-find "rg"))
(defvar +lookup--ag-installed-p (executable-find "ag"))
(defvar +lookup--last-provider nil)

;;;###autodef

  (cond ((and +lookup-references-functions
              (+lookup--jump-to :references identifier)))

        ((+lookup--file-search identifier))

        (t (error "Couldn't find '%s'" identifier))))

