fix(vertico): missing command error in consult

Although it is rare for a user to not enable the :config default module,
enabling/disabling modules one-by-one is common practice for debugging
Doom Emacs. This PR fixes an error that occurs when you have :completion
vertico enabled without enabling :config default.
This commit is contained in:
StrawberryTea 2024-04-05 18:56:06 -05:00 committed by Henrik Lissner
parent f79bb46c9b
commit 4f07e83b6e

View file

@ -160,13 +160,16 @@ orderless."
(consult-customize (consult-customize
consult-ripgrep consult-git-grep consult-grep consult-ripgrep consult-git-grep consult-grep
consult-bookmark consult-recent-file consult-bookmark consult-recent-file
+default/search-project +default/search-other-project
+default/search-project-for-symbol-at-point
+default/search-cwd +default/search-other-cwd
+default/search-notes-for-symbol-at-point
+default/search-emacsd
consult--source-recent-file consult--source-project-recent-file consult--source-bookmark consult--source-recent-file consult--source-project-recent-file consult--source-bookmark
:preview-key "C-SPC") :preview-key "C-SPC")
(when (modulep! :config default)
(consult-customize
+default/search-project +default/search-other-project
+default/search-project-for-symbol-at-point
+default/search-cwd +default/search-other-cwd
+default/search-notes-for-symbol-at-point
+default/search-emacsd
:preview-key "C-SPC"))
(consult-customize (consult-customize
consult-theme consult-theme
:preview-key (list "C-SPC" :debounce 0.5 'any)) :preview-key (list "C-SPC" :debounce 0.5 'any))