   :init
   (add-hook 'before-save-hook 'py-isort-before-save))
 
-(after! elfeed-org
+(after! (:or org elfeed-org)
   :defer t
   :init
   (setq rmh-elfeed-org-files (list "~/workspace/org/urls.org")))

  (setq reftex-default-bibliography org-ref-default-bibliography))


(after! bibtex-completion
  (setq bibtex-completion-format-citation-functions
        '((org-mode      . bibtex-completion-format-citation-org-link-to-PDF)
          (latex-mode    . bibtex-completion-format-citation-cite)

  :init
  (setq ob-mermaid-cli-path "/usr/local/bin/mmdc"))

(after! (:or org-ref org)
  :config
  (setq org-ref-completion-library 'org-ref-ivy-cite)
  (setq org-ref-default-bibliography `,(list (concat org-directory "/bibliography.bib")))
