(fix) unlinked-references: search symlinked directories (#2130)

Use the ripgrep '-L' option to follow directory symlinks.  This
matches the behavior of `org-roam--list-files-rg'.
This commit is contained in:
Ron Parker
2022-03-19 15:02:03 -04:00
committed by GitHub
parent 3782e88d50
commit d71675fb47

View File

@@ -655,7 +655,7 @@ References from FILE are excluded."
(shell-command-to-string "rg --pcre2-version"))))
(let* ((titles (cons (org-roam-node-title node)
(org-roam-node-aliases node)))
(rg-command (concat "rg -o --vimgrep -P -i "
(rg-command (concat "rg -L -o --vimgrep -P -i "
(mapconcat (lambda (glob) (concat "-g " glob))
(org-roam--list-files-search-globs org-roam-file-extensions)
" ")