refactor: remove redundant projectile-track-known-projects hook

With the `doom-switch-buffer-hook` hook in 83fedf1, this hook isn't
needed anymore.

Amend: 83fedf1fff
This commit is contained in:
Henrik Lissner 2024-08-30 01:02:33 -04:00
parent 7f175ab6d9
commit bf9e619533
No known key found for this signature in database
GPG key ID: B60957CA074D39A3

View file

@ -121,9 +121,6 @@ Is nil if no executable is found in your PATH during startup.")
(put 'projectile-ripgrep 'disabled "Use +default/search-project instead")
(put 'projectile-grep 'disabled "Use +default/search-project instead")
;; Treat current directory in dired as a "file in a project" and track it
(add-hook 'dired-before-readin-hook #'projectile-track-known-projects-find-file-hook)
;; Accidentally indexing big directories like $HOME or / will massively bloat
;; projectile's cache (into the hundreds of MBs). This purges those entries
;; when exiting Emacs to prevent slowdowns/freezing when cache files are