Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Tab completion doesn't work with :dynamic-collection #946
I've tried making use of ivy-read for opening the file of a class in PHP, using ede-php-autoload.
It doesn't seem to work with tab completion, which is rather unfortunate. Am I missing something?
(defun xen-test () (interactive) (ivy-read "Test: " #'xen-test-cantidates :dynamic-collection t :action (lambda (x) (message "%S" x)) :history 'xen-test-history :require-match t :sort t :caller 'xen-test)) (defun xen-test-cantidates (str) (list "PrefixA" "PrefixB" "PrefixC"))
Running xen-test and typing "Pre" and pressing tab, I'd expect it to expand to "Prefix" but nothing happens. Pressing tab again selects "PrefixA".