summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--init.org25
1 files changed, 12 insertions, 13 deletions
diff --git a/init.org b/init.org
index eceab67..9de60ed 100644
--- a/init.org
+++ b/init.org
@@ -2148,7 +2148,17 @@
magit-save-repository-buffers 'dontask
magit-status-buffer-switch-function 'switch-to-buffer
magit-status-show-hashes-in-headers t)
- :bind (("<f2>" . magit-status)))
+ :config
+
+ (use-package forge
+ :ensure t
+ :demand t
+ :init
+ (setq forge-topic-list-limit (cons 100 -1)
+ forge-pull-notifications nil))
+
+ :bind (("<f2>" . magit-status)
+ (:map forge-topic-mode-map ("M-w" . copy-region-as-kill))))
(use-package code-review
:ensure t
@@ -2156,18 +2166,7 @@
:bind (:map magit-status-mode-map
("C-c C-r" . code-review-forge-pr-at-point)))
- (use-package forge
- :ensure t
- :after magit
- :init
- (setq forge-topic-list-limit (cons 25 10))
- :bind (:map forge-topic-mode-map ("M-w" . copy-region-as-kill))
- :config
- (remove-hook 'magit-status-sections-hook #'forge-insert-issues)
- ;; (add-hook 'magit-status-sections-hook #'forge-insert-notifications t)
- (add-hook 'magit-status-sections-hook #'forge-insert-requested-reviews t)
- (add-hook 'magit-status-sections-hook #'forge-insert-assigned-issues t)
- (add-hook 'magit-status-sections-hook #'forge-insert-issues t))
+
#+end_src
*** Eldoc for magit status/log buffers
[[https://tsdh.org/posts/2021-06-21-using-eldoc-with-magit.html][Using Eldoc with Magit]].