mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-06 15:13:33 -05:00
Setup consult as completion-in-region fallback
This allows `corfu` users to enable corfu and let it noop when _not_ using a graphical display. Having the function setup in `init` means company can properly override it when it’s activated later.
This commit is contained in:
committed by
Itai Y. Efrat
parent
19c07444e7
commit
e181318885
@@ -75,6 +75,7 @@
|
||||
[remap switch-to-buffer-other-frame] #'consult-buffer-other-frame
|
||||
[remap yank-pop] #'consult-yank-pop
|
||||
[remap describe-bindings] #'embark-bindings)
|
||||
(setq completion-in-region-function #'consult-completion-in-region)
|
||||
:config
|
||||
(recentf-mode)
|
||||
(setq consult-project-root-function #'doom-project-root)
|
||||
|
Reference in New Issue
Block a user