Configure org-roam completion backend

This commit is contained in:
Rohit Goswami 2020-04-10 23:15:55 +00:00
parent 24e35b95d5
commit c6c0583107
No known key found for this signature in database
GPG key ID: 9CCCE36402CB49A6

View file

@ -34,8 +34,12 @@
:desc "Yesterday" "y" #'org-roam-yesterday)) :desc "Yesterday" "y" #'org-roam-yesterday))
:config :config
(unless org-roam-directory (unless org-roam-directory
(setq org-roam-directory org-directory))) (setq org-roam-directory org-directory))
(setq org-roam-completion-system
(cond ((featurep! :completion helm) 'helm)
((featurep! :completion ivy) 'ivy)
((featurep! :completion ido) 'ido)
('default))))
;; Since the org module lazy loads org-protocol (waits until an org URL is ;; Since the org module lazy loads org-protocol (waits until an org URL is
;; detected), we can safely chain `org-roam-protocol' to it. ;; detected), we can safely chain `org-roam-protocol' to it.