Disable projectile-{ag,ripgrep}
Emit warnings for commands that won't work, as is, and that Doom already provides a better alternative for.
This commit is contained in:
parent
ac5168f8af
commit
29055ae6a3
2 changed files with 5 additions and 5 deletions
|
@ -51,6 +51,11 @@ Emacs.")
|
|||
(push ".project" projectile-project-root-files-bottom-up)
|
||||
(push (abbreviate-file-name doom-local-dir) projectile-globally-ignored-directories)
|
||||
|
||||
;; Disable commands that won't work, as is, and that Doom already provides a
|
||||
;; better alternative for.
|
||||
(put 'projectile-ag 'disabled "Use +{ivy,helm}/project-search or +{ivy,helm}/ag instead")
|
||||
(put 'projectile-ripgrep 'disabled "Use +{ivy,helm}/project-search or +{ivy,helm}/rg 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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue