mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
fix(default): don't override TAB when Corfu isn't visible
Fixes TAB in many modes, like Org.
This commit is contained in:
@ -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)))))))
|
||||
|
Reference in New Issue
Block a user