Skip to content

Commit

Permalink
Added bbatsov/projectile#1183 workaround for their laggy modeline code
Browse files Browse the repository at this point in the history
  • Loading branch information
Craig Astill (craastil) committed Oct 18, 2017
1 parent 9dbcab1 commit 997ab61
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .emacs
Original file line number Diff line number Diff line change
Expand Up @@ -555,6 +555,13 @@
(progn
(projectile-mode)
(recentf-mode) ; enables projectile-recentf mode for recent files.
; https://github.com/bbatsov/projectile/issues/1183
; Projectile now scrapes all files to discover project type for modeline.
; This is calculated on every cursor movement, so lags emacs like crazy.
; Below is the workaround to disable this until it is fixed.
(setq projectile-mode-line
'(:eval (format " Projectile[%s]"
(projectile-project-name))))
)
)

Expand Down

0 comments on commit 997ab61

Please sign in to comment.