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:
parent
8ffd32b7c4
commit
4c97de4163
1 changed files with 1 additions and 8 deletions
|
@ -36,14 +36,7 @@ debian, and derivatives). On most it's 'fd'.")
|
||||||
projectile-kill-buffers-filter 'kill-only-files
|
projectile-kill-buffers-filter 'kill-only-files
|
||||||
projectile-known-projects-file (concat doom-cache-dir "projectile.projects")
|
projectile-known-projects-file (concat doom-cache-dir "projectile.projects")
|
||||||
projectile-ignored-projects '("~/")
|
projectile-ignored-projects '("~/")
|
||||||
projectile-ignored-project-function #'doom-project-ignored-p
|
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))))
|
|
||||||
|
|
||||||
(global-set-key [remap evil-jump-to-tag] #'projectile-find-tag)
|
(global-set-key [remap evil-jump-to-tag] #'projectile-find-tag)
|
||||||
(global-set-key [remap find-tag] #'projectile-find-tag)
|
(global-set-key [remap find-tag] #'projectile-find-tag)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue