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:
parent
6b5c34a1db
commit
4613c74d8b
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue