mirror of
https://github.com/doomemacs/doomemacs.git
synced 2025-12-06 02:30:33 -08:00
fix(default): corfu-indexed-mode & RET interop
This whole RET/TAB/DEL system needs rethinking, but it'll have to wait. Fix: #8120
This commit is contained in:
parent
2a65250743
commit
b43d748d67
1 changed files with 3 additions and 1 deletions
|
|
@ -520,7 +520,9 @@ Continues comments if executed from a commented line."
|
|||
:filter ,(lambda (cmd)
|
||||
(pcase +corfu-want-ret-to-confirm
|
||||
('nil (corfu-quit) nil)
|
||||
('t (if (>= corfu--index 0) cmd))
|
||||
('t (if (or (>= corfu--index 0)
|
||||
(and prefix-arg (bound-and-true-p corfu-indexed-mode)))
|
||||
cmd))
|
||||
('both (funcall-interactively cmd) nil)
|
||||
('minibuffer
|
||||
(if (minibufferp nil t)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue