mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
fix(navigation): resolve load order between consult and projectile
This commit is contained in:
@@ -6,6 +6,8 @@
|
||||
|
||||
;;; Code:
|
||||
|
||||
(require 'siren-projectile)
|
||||
|
||||
(eval-when-compile
|
||||
(require 'cl-lib))
|
||||
|
||||
@@ -24,10 +26,7 @@
|
||||
(consult-preview-max-count 10)
|
||||
|
||||
:config
|
||||
;; (consult-customize consult--source-bookmark :hidden t)
|
||||
;; (consult-customize consult--source-recent-file :hidden t)
|
||||
(with-eval-after-load 'projectile
|
||||
(setq consult-project-root-function 'projectile-project-root))
|
||||
(setq consult-project-root-function 'projectile-project-root)
|
||||
|
||||
:init
|
||||
(defun siren-consult-imenu ()
|
||||
|
||||
@@ -7,6 +7,9 @@
|
||||
;;; Code:
|
||||
|
||||
(use-package projectile
|
||||
:commands
|
||||
projectile-project-root
|
||||
|
||||
:general
|
||||
("C-c p p" 'projectile-switch-project)
|
||||
("C-c p k" 'projectile-kill-buffers)
|
||||
|
||||
Reference in New Issue
Block a user