fix(default): don't override TAB when Corfu isn't visible

Fixes TAB in many modes, like Org.
This commit is contained in:
Henrik Lissner
2025-04-11 15:40:09 -04:00
parent 9a63789cf0
commit c6f749e67c

View File

@ -56,7 +56,8 @@
'(((bound-and-true-p company-mode)
#'company-indent-or-complete-common)))
,@(when (modulep! :completion corfu)
'(((bound-and-true-p corfu-mode)
'(((and (bound-and-true-p corfu-mode)
corfu--candidates)
(if (derived-mode-p 'eshell-mode 'comint-mode)
#'completion-at-point
#'indent-for-tab-command)))))))