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:
parent
19c07444e7
commit
e181318885
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue