summary refs log tree commit diff stats
path: root/emacs/.emacs.d
diff options
context:
space:
mode:
authorAlan Pearce2017-11-16 16:05:38 +0100
committerAlan Pearce2017-11-16 16:05:38 +0100
commit9470fce5ce8d5871ecf7a305219f8e113b34ba8d (patch)
treef3987229300177966d71d47b1729dcdcfe196078 /emacs/.emacs.d
parentb1208e513d25cecffa465ec17dfb785f91a50279 (diff)
downloadnixfiles-9470fce5ce8d5871ecf7a305219f8e113b34ba8d.tar.lz
nixfiles-9470fce5ce8d5871ecf7a305219f8e113b34ba8d.tar.zst
nixfiles-9470fce5ce8d5871ecf7a305219f8e113b34ba8d.zip
Emacs: Re-install magithub
It's not perfect, but until magit includes similar functionality, it's
enough
Diffstat (limited to 'emacs/.emacs.d')
-rw-r--r--emacs/.emacs.d/main.el8
1 files changed, 8 insertions, 0 deletions
diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el
index 8ac0c37d..e1d6435f 100644
--- a/emacs/.emacs.d/main.el
+++ b/emacs/.emacs.d/main.el
@@ -649,6 +649,14 @@
                  (add-to-list 'magit-no-confirm 'safe-with-wip))
   :init (add-hook 'magit-mode-hook #'magit-load-config-extensions))
 
+;;;;; magithub
+
+(use-package magithub
+  :after magit
+  :config (progn
+            (magithub-feature-autoinject t)
+            (setq magithub-cache-refresh-seconds-plist '(:issues 600 :ci-status 180 t 120))))
+
 ;;;;; git-messenger
 
 ;; Popup the last commit that changed the line at point.