mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-22 16:21:04 -05: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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user