                         arg)
                      t/icomplete-page-scroll-margin))
         (icomplete-backward-completions))))
-  (icomplete-mode)
   :config
   (setq icomplete-scroll t
         icomplete-show-matches-on-no-input t

  :defer t
  :init
  (setq org-roam-directory (concat org-directory "roam")
        org-roam-v2-ack t ;; silence upgrade warning
        org-roam-capture-templates
        ;; TODO: "d/m" templates aren't updated for roam-v2
        '(( "d"
            "Default"

(use-package org-ref
  :straight t
  :defer t
  :config
  (setq org-ref-completion-library 'org-ref-ivy-cite
        org-export-latex-format-toc-function 'org-export-latex-no-toc
        org-ref-get-pdf-filename-function
