Enable persistent corfu candidate history
This commit is contained in:
parent
b7de1a5a49
commit
3ab3d32a74
2
init.el
2
init.el
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user