branch: externals/marginalia commit 472b47a7624edbb67fda6372a61769b8b5424708 Author: Daniel Mendler <m...@daniel-mendler.de> Commit: Daniel Mendler <m...@daniel-mendler.de>
add comment to marginalia-toggle-annotators --- marginalia.el | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/marginalia.el b/marginalia.el index f1900a4..675f19a 100644 --- a/marginalia.el +++ b/marginalia.el @@ -411,6 +411,11 @@ Remember `this-command' for annotation." ;; Replace the metadata function. (advice-add #'completion-metadata-get :before-until #'marginalia--completion-metadata-get))) +;; If you want to toggle between annotators while being in the minibuffer, the completion-system +;; should refresh the candidate list. Currently there is no support for this in marginalia, but it +;; is possible to advice the `marginalia-toggle-annotators' function with the necessary refreshing +;; logic. See the discussion in https://github.com/minad/marginalia/issues/10 for reference. +;;;###autoload (defun marginalia-toggle-annotators () "Toggle between annotators in `marginalia-annotators'." (interactive)