fix(gdscript): async :documentation lookup handler

Otherwise `+lookup/documentation` will fall through to the next handler
whether or not `gdscript-docs-browse-symbol-at-point` is successful.
Especially important if `gdscript-docs-use-eww` is nil.
This commit is contained in:
Henrik Lissner 2024-07-12 20:21:46 -04:00
parent b3ef202451
commit 3b68924723
No known key found for this signature in database
GPG key ID: B60957CA074D39A3

View file

@ -11,8 +11,7 @@
:defer t
:config
(set-lookup-handlers! 'gdscript-mode
:documentation #'gdscript-docs-browse-symbol-at-point)
:documentation '(gdscript-docs-browse-symbol-at-point :async t))
(set-formatter! 'gdformat '("gdformat" "-") :modes '(gdscript-mode))
(when (modulep! +lsp)