Fix the citar and citar-embark loading issue
This commit is contained in:
parent
aed2db4e48
commit
4ebf0810fe
|
@ -35,6 +35,7 @@ let
|
|||
websocket
|
||||
simple-httpd
|
||||
citar
|
||||
citar-embark
|
||||
citar-org-roam
|
||||
citeproc
|
||||
f
|
||||
|
|
|
@ -129,7 +129,6 @@ For more information checkout `https://github.com/alphapapa/org-super-agenda'"
|
|||
:PROPERTIES:
|
||||
:Timestamp: %T
|
||||
:Context: %x
|
||||
:At: %F
|
||||
:END:
|
||||
%?"
|
||||
:unnarrowed t
|
||||
|
@ -141,7 +140,6 @@ For more information checkout `https://github.com/alphapapa/org-super-agenda'"
|
|||
:PROPERTIES:
|
||||
:Timestamp: %T
|
||||
:Context: %x
|
||||
:At: %F
|
||||
:END:
|
||||
%?"
|
||||
:unnarrowed th
|
||||
|
@ -233,6 +231,9 @@ For more info on ~org-mode~ check out `https://orgmode.org/'"
|
|||
(setq org-roam-database-connector 'sqlite-builtin)
|
||||
(org-roam-db-autosync-mode)))
|
||||
|
||||
(use! org-roam-node
|
||||
"The builtin node module of org-roam"
|
||||
:after org-roam)
|
||||
|
||||
(use! websocket
|
||||
"Websocket support for Elisp."
|
||||
|
@ -258,15 +259,23 @@ For more info on ~org-mode~ check out `https://orgmode.org/'"
|
|||
"Citar provides a highly-configurable completing-read front-end to browse
|
||||
and act on BibTeX, BibLaTeX, and CSL JSON bibliographic data, and LaTeX,
|
||||
markdown, and org-cite editing support."
|
||||
:custom
|
||||
(citar-bibliography
|
||||
:init
|
||||
(setq citar-org-local-bib-files
|
||||
(or
|
||||
fg42/bibliograhpy-file
|
||||
(list (path-join (fg42/org-home) "bibliography.bib"))))
|
||||
:custom
|
||||
;; citar-bibliography
|
||||
(org-cite-global-bibliography
|
||||
(or
|
||||
fg42/bibliograhpy-file
|
||||
(list (path-join (fg42/org-home) "bibliography.bib"))))
|
||||
|
||||
(org-cite-insert-processor 'citar)
|
||||
(org-cite-follow-processor 'citar)
|
||||
(org-cite-activate-processor 'citar)
|
||||
(citar-bibliography org-cite-global-bibliography)
|
||||
|
||||
:config
|
||||
(setq citar-at-point-function 'embark-act)
|
||||
|
||||
|
@ -282,10 +291,22 @@ For more info on ~org-mode~ check out `https://orgmode.org/'"
|
|||
(citar-capf-setup))))
|
||||
|
||||
|
||||
(use! citar-embark
|
||||
"Citar and embark integration."
|
||||
:after org
|
||||
:config (citar-embark-mode))
|
||||
|
||||
|
||||
;; Suprisingly citar won't load `citar-org' on its own.
|
||||
(use! citar-org
|
||||
"Citar and org integration."
|
||||
:after citar)
|
||||
|
||||
|
||||
(use! citar-org-roam
|
||||
"A package to provide tighter Citar and Org-Roam integration."
|
||||
:after (citar org-roam)
|
||||
:config (citar-org-roam-mode) )
|
||||
:after citar
|
||||
:config (citar-org-roam-mode))
|
||||
|
||||
|
||||
(defhydra hydra-org-roam (:exit t)
|
||||
|
|
Loading…
Reference in New Issue