selectrum: refactor consult stuff

- use `consult-preview-at-point-mode` instead of `consult-preview-minor-mode`
- better consult preview function detection in `+selectrum/embark-preview`
This commit is contained in:
Itai Y. Efrat 2021-05-22 23:22:17 +03:00
parent 1f3281734a
commit 14d6613192
2 changed files with 5 additions and 6 deletions

View file

@ -139,7 +139,7 @@
:after (embark consult)
:demand t
:hook
(embark-collect-mode . consult-preview-minor-mode))
(embark-collect-mode . consult-preview-at-point-mode))
(use-package! wgrep
:commands wgrep-change-to-wgrep-mode