 ;;; 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)))

        ((and identifier
              (featurep 'counsel)
              (let ((regex (rxt-quote-pcre identifier)))
                (or (and (executable-find "rg")
                         (counsel-rg regex (doom-project-root)))
                    (and (executable-find "ag")
                         (counsel-ag regex (doom-project-root)))))))

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


                    (dumb-jump-go))
                  successful))))

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

        ((and (featurep 'evil)
              evil-mode
