Add cider-repl-mode to consult-mode-histories

This commit is contained in:
David Morgan 2022-10-17 16:19:32 +01:00
parent d2cb9d11e8
commit 0f60c050bf
Signed by: djm
GPG Key ID: C171251002C200F2
1 changed files with 2 additions and 0 deletions

View File

@ -224,6 +224,8 @@ DEFS is a plist associating completion categories to commands."
(setq xref-show-xrefs-function #'consult-xref
xref-show-definitions-function #'consult-xref)
(add-to-list 'consult-mode-histories '(cider-repl-mode cider-repl-input-history))
(defun consult-ripgrep-symbol-at-point (&optional dir initial)
(interactive
(list prefix-arg (when-let ((s (symbol-at-point)))