refactor(biblio): move 3rd party modes to use-package blocks
This makes load-order more predictable for users wanting to modify the side-effects of citar-org-roam-mode or citar-embark-mode. I.e. (after! citar-org-roam ...) (after! citar-embark ...) Instead of: (after! (citar org-roam) ...) (after! (citar embark) ...) Ref: #7712 Co-authored-by: hpfr <hpfr@users.noreply.github.com>
This commit is contained in:
parent
2bce9dbc1a
commit
f1c1efe420
1 changed files with 14 additions and 6 deletions
|
@ -29,12 +29,6 @@
|
||||||
org-cite-activate-processor 'citar)
|
org-cite-activate-processor 'citar)
|
||||||
|
|
||||||
:config
|
:config
|
||||||
(after! embark
|
|
||||||
(citar-embark-mode))
|
|
||||||
|
|
||||||
(after! org-roam
|
|
||||||
(citar-org-roam-mode))
|
|
||||||
|
|
||||||
(when (modulep! :completion vertico +icons)
|
(when (modulep! :completion vertico +icons)
|
||||||
(defvar citar-indicator-files-icons
|
(defvar citar-indicator-files-icons
|
||||||
(citar-indicator-create
|
(citar-indicator-create
|
||||||
|
@ -81,6 +75,20 @@
|
||||||
;;
|
;;
|
||||||
;;; Third-party
|
;;; Third-party
|
||||||
|
|
||||||
|
(use-package! citar-embark
|
||||||
|
:defer t
|
||||||
|
:init
|
||||||
|
(after! (citar embark)
|
||||||
|
(citar-embark-mode)))
|
||||||
|
|
||||||
|
|
||||||
|
(use-package! citar-org-roam
|
||||||
|
:defer t
|
||||||
|
:init
|
||||||
|
(after! (citar org-roam)
|
||||||
|
(citar-org-roam-mode)))
|
||||||
|
|
||||||
|
|
||||||
(use-package! bibtex-completion
|
(use-package! bibtex-completion
|
||||||
:when (or (modulep! :completion ivy)
|
:when (or (modulep! :completion ivy)
|
||||||
(modulep! :completion helm))
|
(modulep! :completion helm))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue