diff options
author | Thomas F. K. Jorna <[email protected]> | 2021-08-16 13:26:29 +0200 |
---|---|---|
committer | Thomas F. K. Jorna <[email protected]> | 2021-08-16 13:26:29 +0200 |
commit | d5135e1caec93b7d87b5d40f1fc911702238092a (patch) | |
tree | 285613a53338e8b64b00ce6c9a4f70d61cebdb66 | |
parent | 8b32395306bfdead78b58840e7dfd0e215737eb5 (diff) |
feat: support all citations
-rw-r--r-- | org-roam-ui.el | 8 |
1 files changed, 1 insertions, 7 deletions
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 () |