fix(corfu): global-corfu-minibuffer
predicate not respected
As mentioned in #7977, `global-corfu-modes` overrides any predicate function in `global-corfu-minibuffer`. This is a stopgap until the issue is resolved upstream. Fix: #7977 Close: #8039 Co-authored-by: LemonBreezes <LemonBreezes@users.noreply.github.com>
This commit is contained in:
parent
f81798eb0a
commit
84230a437d
1 changed files with 11 additions and 6 deletions
|
@ -43,12 +43,17 @@ If any return non-nil, `corfu-auto' will not invoke as-you-type completion.")
|
|||
(setq corfu-auto t
|
||||
corfu-auto-delay 0.24
|
||||
corfu-auto-prefix 2
|
||||
global-corfu-modes '((not erc-mode
|
||||
circe-mode
|
||||
help-mode
|
||||
gud-mode
|
||||
vterm-mode)
|
||||
t)
|
||||
global-corfu-modes
|
||||
'((not erc-mode
|
||||
circe-mode
|
||||
help-mode
|
||||
gud-mode
|
||||
vterm-mode
|
||||
;; Needed for `+corfu-want-minibuffer-completion' to be
|
||||
;; respected. See #7977.
|
||||
minibuffer-mode
|
||||
minibuffer-inactive-mode)
|
||||
t)
|
||||
corfu-cycle t
|
||||
corfu-preselect 'prompt
|
||||
corfu-count 16
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue