Fix some things
This commit is contained in:
parent
d0c83ed563
commit
9fce4365dc
4 changed files with 6 additions and 14 deletions
|
|
@ -184,19 +184,11 @@
|
|||
(projectile-regenerate-tags))))
|
||||
|
||||
(setq projectile-enable-caching t)
|
||||
;; Expire cache after 5 minutes
|
||||
(setq projectile-file-exists-local-cache-expire (* 2 60))
|
||||
|
||||
;; Always create a new tag table list and reload without asking
|
||||
(setq tags-revert-without-query t)
|
||||
(setq tags-add-tables nil)
|
||||
|
||||
;; Enable idle timer
|
||||
;; TODO: Does not work properly
|
||||
(setq projectile-enable-idle-timer t)
|
||||
(add-hook 'projectile-idle-timer-hook 'projectile-regenerate-tags-if-exist)
|
||||
(setq projectile-idle-timer-seconds 15)
|
||||
|
||||
;; Run the tags if project was changed
|
||||
(add-hook 'projectile-after-switch-project-hook
|
||||
'projectile-regenerate-tags-if-exist)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue