Skip to content

Candidates with font-lock-face properties. #1293

@TonCherAmi

Description

@TonCherAmi

Hey, is it currently possible to get ivy to highlight candidates with font-lock-face properties?
For example, I'd like to use ansi-color-apply on the output of some shell command and then pass the result to ivy-read:

(let* ((output (shell-command-to-string "ls -l --color=always ~/"))
       (cands (mapcar #'ansi-color-apply (split-string output "\n"))))
  (ivy-read "prompt -> " cands))

Thank you very much for this project by the way, it is absolutely fantastic.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions