Helm v.s. Consult: can consult-buffer-sources replicate helm-for-files?
#1295
-
|
Good evening. There's just one thing stopping me from switching from Helm to the consult stack, I'm trying to have Consult Buffer run a search on the contents of a particular project. As of now, the code does not give me any errors, even with toggle on debug enabled. However, no results from The helm configuration that works. Thank you for your time. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
It should be possible to replicate (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. |
Beta Was this translation helpful? Give feedback.
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 useconsult--dynamic-collectionorconsult--process-collection:See also ada079d.