fix(org): org-roam-node-display-template: strip :box from org-tag

The :box causes tremendous slowdown when displayed in the minibuffer.

Fix: #7432
This commit is contained in:
Henrik Lissner 2023-09-16 17:01:09 +02:00
parent 8340141e69
commit ae8c5cfdde
No known key found for this signature in database
GPG key ID: B60957CA074D39A3

View file

@ -78,7 +78,7 @@ In case of failure, fail gracefully."
org-roam-node-display-template
(format "${doom-hierarchy:*} %s %s"
(propertize "${doom-type:12}" 'face 'font-lock-keyword-face)
(propertize "${doom-tags:42}" 'face 'org-tag))
(propertize "${doom-tags:42}" 'face '(:inherit org-tag :box nil)))
org-roam-completion-everywhere t
org-roam-db-gc-threshold most-positive-fixnum
;; Reverse the default to favor faster searchers over slower ones.