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 ".project" projectile-project-root-files-bottom-up)
|
||||||
(push (abbreviate-file-name doom-local-dir) projectile-globally-ignored-directories)
|
(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
|
;; 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)
|
(add-hook 'dired-before-readin-hook #'projectile-track-known-projects-find-file-hook)
|
||||||
|
|
||||||
|
|
|
@ -146,11 +146,6 @@ users).")
|
||||||
;; to, it's our (the user's) failure. One case for all!
|
;; to, it's our (the user's) failure. One case for all!
|
||||||
(setq auto-mode-case-fold nil)
|
(setq auto-mode-case-fold nil)
|
||||||
|
|
||||||
;; Some commands are disabled and emit a warning whenever they are used. Let's
|
|
||||||
;; assume the user always knows what they're doing (hahahaha) and enable all
|
|
||||||
;; disabled commands.
|
|
||||||
(setq disabled-command-function nil)
|
|
||||||
|
|
||||||
;; Display the bare minimum at startup. We don't need all that noise. The
|
;; Display the bare minimum at startup. We don't need all that noise. The
|
||||||
;; dashboard/empty scratch buffer is good enough.
|
;; dashboard/empty scratch buffer is good enough.
|
||||||
(setq inhibit-startup-message t
|
(setq inhibit-startup-message t
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue