Function: projectile--search-tool-tag
projectile--search-tool-tag is a byte-compiled function defined in
projectile.el.
Signature
(projectile--search-tool-tag TOOL)
Documentation
Return a faced [TOOL] tag for a search prompt.
TOOL is the backend, given as a symbol or a string: projectile-search
passes the backend name symbol while the reviewable search passes a
"ripgrep"/"elisp" string. Used where the backend varies so the
prompt makes clear which tool will run.
Source Code
;; Defined in ~/.emacs.d/elpa/projectile-20260930.434/projectile.el
(defun projectile--search-tool-tag (tool)
"Return a faced `[TOOL]' tag for a search prompt.
TOOL is the backend, given as a symbol or a string: `projectile-search'
passes the backend name symbol while the reviewable search passes a
\"ripgrep\"/\"elisp\" string. Used where the backend varies so the
prompt makes clear which tool will run."
(format "[%s]" (propertize (format "%s" tool)
'face 'projectile-search-prompt-tool)))