1

Enable persistent corfu candidate history

This commit is contained in:
Jessie Hildebrandt 2022-12-29 20:40:21 -05:00
parent b7de1a5a49
commit 3ab3d32a74

View File

@ -913,6 +913,8 @@ DOCSTRING is an optional form that is discarded upon expansion."
(global-corfu-mode) (global-corfu-mode)
:config :config
(corfu-popupinfo-mode) (corfu-popupinfo-mode)
(corfu-history-mode)
(add-to-list 'savehist-additional-variables 'corfu-history)
;; Set `line-spacing' to a custom value in corfu buffers for some ;; Set `line-spacing' to a custom value in corfu buffers for some
;; added visual separation between completion candidates ;; added visual separation between completion candidates
(advice-add 'corfu--make-buffer :around (lambda (orig-fun &rest args) (advice-add 'corfu--make-buffer :around (lambda (orig-fun &rest args)