mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
refactor: remove custom projectile-mode-line-function
projectile guards its projectile-update-mode-line calls with
file-remote-p checks, so this is redundant.
Ref: 4d6da873ae/projectile.el (L5791-L5793)
This commit is contained in:
@ -36,14 +36,7 @@ debian, and derivatives). On most it's 'fd'.")
|
||||
projectile-kill-buffers-filter 'kill-only-files
|
||||
projectile-known-projects-file (concat doom-cache-dir "projectile.projects")
|
||||
projectile-ignored-projects '("~/")
|
||||
projectile-ignored-project-function #'doom-project-ignored-p
|
||||
|
||||
;; The original `projectile-default-mode-line' can be expensive over
|
||||
;; TRAMP, so we gimp it in remote buffers.
|
||||
projectile-mode-line-function
|
||||
(lambda ()
|
||||
(if (file-remote-p default-directory) ""
|
||||
(projectile-default-mode-line))))
|
||||
projectile-ignored-project-function #'doom-project-ignored-p)
|
||||
|
||||
(global-set-key [remap evil-jump-to-tag] #'projectile-find-tag)
|
||||
(global-set-key [remap find-tag] #'projectile-find-tag)
|
||||
|
Reference in New Issue
Block a user