consult-project-root-function -> consult-project-function

This commit is contained in:
David Morgan 2022-02-28 11:40:02 +00:00
parent 71c27e4418
commit f38d3402a4
1 changed files with 1 additions and 1 deletions

View File

@ -278,7 +278,7 @@ DEFS is a plist associating completion categories to commands."
(setq consult-narrow-key "<")
(setq consult-project-root-function #'persp-current-project-root)
(setq consult-project-function (lambda (_) (persp-current-project-root)))
;; Switches perspective if we select a buffer from another perspective, but note that previewing
;; a buffer adds it to the current perspective, so preview should be disabled before removing