Skip to content
Discussion options

You must be logged in to vote

It should be possible to replicate helm-for-files. However asynchronous sources are not yet used widely. I use them in my configuration and maybe some other packages use them too. You can either use consult--dynamic-collection or consult--process-collection:

(defvar dynamic-source
  (list :async (consult--dynamic-collection (lambda (input) (list of dynamically produced candidates)))))

(defvar process-source
  (list :async (consult--process-collection #'consult--man-builder)))

See also ada079d.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@BenedictHW
Comment options

@BenedictHW
Comment options

Answer selected by BenedictHW
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants