From d5135e1caec93b7d87b5d40f1fc911702238092a Mon Sep 17 00:00:00 2001 From: "Thomas F. K. Jorna" Date: Mon, 16 Aug 2021 13:26:29 +0200 Subject: feat: support all citations --- org-roam-ui.el | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'org-roam-ui.el') diff --git a/org-roam-ui.el b/org-roam-ui.el index ccdf5c6..b4ff272 100644 --- a/org-roam-ui.el +++ b/org-roam-ui.el @@ -297,7 +297,7 @@ unchanged." (links-db-rows (org-roam-db-query `[:select ,links-columns :from links :left :outer :join refs :on (= links:dest refs:ref) - :where (in links:type ["cite", "citet", "citep", "id"])])) + :where (or (= links:type "id") (like links:type "%cite%"))])) ;; Convert any cite links that have nodes with associated refs to an ;; id based link of type `ref' while removing the 'nil `refs:node-id' ;; from all other links @@ -326,13 +326,7 @@ unchanged." (let* ((node (org-roam-id-at-point))) (unless (string= org-roam-ui--ws-current-node node) (setq org-roam-ui--ws-current-node node) -<<<<<<< HEAD (websocket-send-text oru-ws (json-encode `((type . "command") (data . ((commandName . "follow") (id . ,node)))))))))) -======= - (websocket-send-text oru-ws (json-encode `((type . "command") - (data . ((commandName . "follow") - (id . ,node)))))))))) ->>>>>>> b153f4fee99e36dec0fb56d987026d53bf97a0e8 (defun org-roam-ui--update-theme () -- cgit v1.2.3