Unnamed repository; edit this file 'description' to name the repository.
fix(go): enable markdown injections in function doc comments (#14230)
Artyom Vasich 6 months ago
parent 6b93c77 · commit 9e3b510
-rw-r--r--runtime/queries/go/injections.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/queries/go/injections.scm b/runtime/queries/go/injections.scm
index c0ff7e1c..b8a4d63e 100644
--- a/runtime/queries/go/injections.scm
+++ b/runtime/queries/go/injections.scm
@@ -13,6 +13,7 @@
(comment) @injection.content . (comment)* . [
(package_clause) ; `package`
(type_declaration) ; `type`
+ (function_declaration) ; `func`
(method_declaration) ; `func`
(var_declaration) ; `var`
(const_declaration) ; `const`