aboutsummaryrefslogtreecommitdiff
path: root/.emacs.d/lisp/init-projectile.el
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2022-03-13 02:43:54 +0800
committerGuangxiong Lin <[email protected]>2022-03-13 02:43:54 +0800
commit52663428184b2f13611bcbdae8431fd9605b1d7e (patch)
tree111f3ad8721267d827c1b3abe83e1fe4ab87d8f7 /.emacs.d/lisp/init-projectile.el
parent1957e46551dfd1acfcd53fec17fd9630304a11db (diff)
downloaddotfiles-52663428184b2f13611bcbdae8431fd9605b1d7e.tar.gz
dotfiles-52663428184b2f13611bcbdae8431fd9605b1d7e.tar.bz2
dotfiles-52663428184b2f13611bcbdae8431fd9605b1d7e.zip
Add diminish package (emacs)
Diffstat (limited to '.emacs.d/lisp/init-projectile.el')
-rw-r--r--.emacs.d/lisp/init-projectile.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/.emacs.d/lisp/init-projectile.el b/.emacs.d/lisp/init-projectile.el
index f923924..08c1124 100644
--- a/.emacs.d/lisp/init-projectile.el
+++ b/.emacs.d/lisp/init-projectile.el
@@ -1,6 +1,9 @@
(when (gx/maybe-require-package 'projectile)
(add-hook 'after-init-hook (lambda () (projectile-mode 1))))
+(with-eval-after-load 'projectile
+ (gx/diminish 'projectile-mode))
+
(setq projectile-cache-file (expand-file-name ".cache/projectile" user-emacs-directory)
projectile-require-project-root nil)