branch: externals/marginalia
commit 56ad689886e618616f9ee282c3d8d57f8270450b
Author: Daniel Mendler <[email protected]>
Commit: Daniel Mendler <[email protected]>
modify marginalia-annotate-imenu regexp such that it works with consult
narrowing
---
marginalia.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/marginalia.el b/marginalia.el
index 5c506d9..cef1819 100644
--- a/marginalia.el
+++ b/marginalia.el
@@ -378,7 +378,7 @@ Similar to `marginalia-annotate-symbol', but does not show
symbol class."
(when (provided-mode-derived-p (buffer-local-value 'major-mode
(window-buffer
(minibuffer-selected-window)))
'emacs-lisp-mode)
- (marginalia-annotate-symbol (replace-regexp-in-string "^.*? " "" cand))))
+ (marginalia-annotate-symbol (replace-regexp-in-string "^.* " "" cand))))
(defun marginalia-annotate-variable (cand)
"Annotate variable CAND with its documentation string."