feat(docs): add face:X link type to docs

For linking face symbols to documentation.
This commit is contained in:
Henrik Lissner 2022-04-02 00:44:59 +02:00
parent e77a45bc22
commit 3deba740d3
No known key found for this signature in database
GPG key ID: B60957CA074D39A3

View file

@ -458,6 +458,10 @@ Keeps track of its own IDs in `doom-docs-dir' and toggles `doom-docs-mode' when
"fn"
:follow (doom-docs-make-symbol-link #'helpful-callable)
:face '(font-lock-function-name-face underline))
(org-link-set-parameters
"face"
:follow (doom-docs-make-symbol-link #'describe-face)
:face '(font-lock-type-face underline))
(org-link-set-parameters
"doom-ref"
:follow (lambda (link)