mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
fix(vertico): prefix-help-command
- move the setq to the embark use-package where it belongs - also set which-key-use-C-h-commands to nil, otherwise sometimes which-key will override the prefix-help-command setting
This commit is contained in:
@ -82,7 +82,6 @@ overrides `completion-styles' during company completion sessions.")
|
||||
[remap persp-switch-to-buffer] #'+vertico/switch-workspace-buffer)
|
||||
(advice-add #'completing-read-multiple :override #'consult-completing-read-multiple)
|
||||
(advice-add #'multi-occur :override #'consult-multi-occur)
|
||||
(setq prefix-help-command #'embark-prefix-help-command)
|
||||
:config
|
||||
(setq consult-project-root-function #'doom-project-root
|
||||
consult-narrow-key "<"
|
||||
@ -134,6 +133,8 @@ overrides `completion-styles' during company completion sessions.")
|
||||
(use-package! embark
|
||||
:defer t
|
||||
:init
|
||||
(setq which-key-use-C-h-commands nil
|
||||
prefix-help-command #'embark-prefix-help-command)
|
||||
(map! [remap describe-bindings] #'embark-bindings
|
||||
"C-;" #'embark-act ; to be moved to :config default if accepted
|
||||
(:map minibuffer-local-map
|
||||
|
Reference in New Issue
Block a user