From 3b689247239de260cd948911efb85f893239f815 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Fri, 12 Jul 2024 20:21:46 -0400 Subject: [PATCH] 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. --- modules/lang/gdscript/config.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/lang/gdscript/config.el b/modules/lang/gdscript/config.el index 954bc25d6..f1c1672d5 100644 --- a/modules/lang/gdscript/config.el +++ b/modules/lang/gdscript/config.el @@ -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)