summaryrefslogtreecommitdiffstats
path: root/emacs
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2023-02-07 16:17:11 -0500
committerDavid Robillard <d@drobilla.net>2023-02-07 16:17:11 -0500
commita77fb76b36e0c30b9bbdaea82effba05b7e1ae41 (patch)
tree5e534e0c95871a6ffeef61165dc195c89c70f61a /emacs
parentc1ad86288d899ebfbdf68fea459ea7726c5cb41d (diff)
downloaddotfiles-a77fb76b36e0c30b9bbdaea82effba05b7e1ae41.tar.gz
dotfiles-a77fb76b36e0c30b9bbdaea82effba05b7e1ae41.tar.bz2
dotfiles-a77fb76b36e0c30b9bbdaea82effba05b7e1ae41.zip
Clean up projectile configuration
Diffstat (limited to 'emacs')
-rw-r--r--emacs/.emacs.d/init.el15
1 files changed, 3 insertions, 12 deletions
diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el
index 62b6791..f86cddc 100644
--- a/emacs/.emacs.d/init.el
+++ b/emacs/.emacs.d/init.el
@@ -126,7 +126,7 @@
(use-package markdown-mode :commands markdown-mode)
(use-package pdf-tools :magic ("%PDF" . pdf-view-mode) :config (pdf-tools-install))
(use-package prettier :commands prettier-prettify)
-(use-package projectile :config (projectile-global-mode))
+(use-package projectile :config (projectile-mode))
(use-package quack :commands scheme-mode)
(use-package rainbow-delimiters :commands prog-mode)
(use-package spaceline)
@@ -303,14 +303,13 @@
'(powerline-default-separator nil)
'(projectile-completion-system 'ivy)
'(projectile-enable-caching t)
- '(projectile-mode-line nil)
'(projectile-mode-line-function
(lambda nil
- (format "%s:%s" projectile-mode-line-prefix
+ (format "%s%s" projectile-mode-line-prefix
(or
(projectile-project-name)
"-"))))
- '(projectile-mode-line-prefix "P")
+ '(projectile-mode-line-prefix "")
'(projectile-use-git-grep t)
'(python-black-extra-args '("-l 79"))
'(quack-pretty-lambda-p t)
@@ -594,14 +593,6 @@
(add-to-list 'auto-mode-alist '("\\.clang-tidy\\'" . yaml-mode))
(add-to-list 'auto-mode-alist '("\\NEWS" . debian-changelog-mode))
-;;; Projectile
-
-(defun my-projectile-mode-line ()
- "Report project name in the modeline."
- (format "%s[%s%s]"
- projectile-mode-line-prefix
- (or (projectile-project-name) "-")))
-
;;; Launch
(spaceline-spacemacs-theme)