mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
refactor(vertico): rename which key indicator
rename +vertico/embark-which-key-indicator to +vertico-embark-which-key-indicator, since it's not interactive
This commit is contained in:
@ -233,7 +233,7 @@ If INITIAL is non-nil, use as initial input."
|
|||||||
(forward-line (string-to-number line)))))
|
(forward-line (string-to-number line)))))
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
(defun +vertico/embark-which-key-indicator ()
|
(defun +vertico-embark-which-key-indicator ()
|
||||||
"An embark indicator that displays keymaps using which-key.
|
"An embark indicator that displays keymaps using which-key.
|
||||||
The which-key help message will show the type and value of the
|
The which-key help message will show the type and value of the
|
||||||
current target followed by an ellipsis if there are further
|
current target followed by an ellipsis if there are further
|
||||||
|
@ -149,7 +149,7 @@ overrides `completion-styles' during company completion sessions.")
|
|||||||
:desc "Actions" "a" #'embark-act)) ; to be moved to :config default if accepted
|
:desc "Actions" "a" #'embark-act)) ; to be moved to :config default if accepted
|
||||||
:config
|
:config
|
||||||
(set-popup-rule! "^\\*Embark Export Grep" :size 0.35 :ttl 0 :quit nil)
|
(set-popup-rule! "^\\*Embark Export Grep" :size 0.35 :ttl 0 :quit nil)
|
||||||
(cl-nsubstitute #'+vertico/embark-which-key-indicator #'embark-mixed-indicator embark-indicators)
|
(cl-nsubstitute #'+vertico-embark-which-key-indicator #'embark-mixed-indicator embark-indicators)
|
||||||
(add-to-list 'embark-indicators #'+vertico-embark-vertico-indicator)
|
(add-to-list 'embark-indicators #'+vertico-embark-vertico-indicator)
|
||||||
;; add the package! target finder before the file target finder,
|
;; add the package! target finder before the file target finder,
|
||||||
;; so we don't get a false positive match.
|
;; so we don't get a false positive match.
|
||||||
|
Reference in New Issue
Block a user