Fix embark config for new version

This commit is contained in:
Jeremy Dormitzer 2021-07-27 11:50:02 -04:00
parent 9db4107d4a
commit 24a89db0ef

View File

@ -32,11 +32,9 @@
;; Embark adds context actions to completion candidates
(use-package embark
:config
(setq embark-action-indicator
(lambda (map _target)
(which-key--show-keymap "Embark" map nil nil 'no-paging)
#'which-key--hide-popup-ignore-command)
embark-become-indicator embark-action-indicator)
(defun embark-which-key-indicator (map _target)
(which-key--show-keymap "Embark" map nil nil 'no-paging)
#'which-key--hide-popup-ignore-command)
:general
("M-o" #'embark-act)
('normal embark-collect-mode-map
@ -59,7 +57,8 @@
"}" #'tabulated-list-widen-current-column
"<backtab>" #'backward-button)
:custom
(embark-prompter 'embark-keymap-prompter))
(embark-prompter 'embark-keymap-prompter)
(embark-indicator 'embark-which-key-indicator))
;; Consult adds a bunch of completing-read based utilities
(use-package consult