aboutsummaryrefslogtreecommitdiff
path: root/src/server/hover.odin
diff options
context:
space:
mode:
authorDanielGavin <danielgavin5@hotmail.com>2025-08-10 14:39:49 +0200
committerDanielGavin <danielgavin5@hotmail.com>2025-08-10 14:39:49 +0200
commit90a41ff247b050228e1a6e1a9fe0486948ca6b9e (patch)
tree0eaaebcb2dce6ef68590551c56ae4d4b1825018f /src/server/hover.odin
parentc816acb6d6c683900b75910a5237c155533ba9fe (diff)
Fix compiler issues with contextless
Diffstat (limited to 'src/server/hover.odin')
-rw-r--r--src/server/hover.odin6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/server/hover.odin b/src/server/hover.odin
index 364585d..4719685 100644
--- a/src/server/hover.odin
+++ b/src/server/hover.odin
@@ -48,11 +48,7 @@ write_hover_content :: proc(ast_context: ^AstContext, symbol: Symbol) -> MarkupC
}
builtin_identifier_hover: map[string]string = {
- "context" = fmt.aprintf(
- "```odin\n%v\n```\n%v",
- "runtime.context: Context",
- "This context variable is local to each scope and is implicitly passed by pointer to any procedure call in that scope (if the procedure has the Odin calling convention).",
- ),
+ "context" = "```odin\nruntime.context: Context\n```\nThis context variable is local to each scope and is implicitly passed by pointer to any procedure call in that scope (if the procedure has the Odin calling convention).",
}