Function: consult--highlight-literals
consult--highlight-literals is a natively compiled function defined in
consult.el.
Signature
(consult--highlight-literals LITERALS IGNORE-CASE STR)
Documentation
Highlight list of LITERALS or single literal string in STR.
Case insensitive if IGNORE-CASE is non-nil.
Source Code
;; Defined in /nix/store/6higv2v1wk916v4ynnybyrdkfy2gq44d-emacs-packages-deps/share/emacs/site-lisp/elpa/consult-20261004.957/consult.el
(defun consult--highlight-literals (literals ignore-case str)
"Highlight list of LITERALS or single literal string in STR.
Case insensitive if IGNORE-CASE is non-nil."
(consult--highlight-regexps (mapcar #'regexp-quote (ensure-list literals))
ignore-case str))