diff options
| author | Brad Lewis <22850972+BradLewis@users.noreply.github.com> | 2025-07-19 15:46:55 -0400 |
|---|---|---|
| committer | Brad Lewis <22850972+BradLewis@users.noreply.github.com> | 2025-07-22 18:48:22 -0400 |
| commit | 4eda03d0564acbbd577edb54183f4443fbdd0e94 (patch) | |
| tree | 14cb81c9595722d407f6b277f4976cfd8b99aabf /src/server/documentation.odin | |
| parent | 01dd0ca11f34a58c9470ed377142da4a144631f2 (diff) | |
Add proc calling convention to hover information
Diffstat (limited to 'src/server/documentation.odin')
| -rw-r--r-- | src/server/documentation.odin | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/server/documentation.odin b/src/server/documentation.odin index cd22b90..34a6752 100644 --- a/src/server/documentation.odin +++ b/src/server/documentation.odin @@ -465,6 +465,9 @@ write_symbol_type_information :: proc(ast_context: ^AstContext, sb: ^strings.Bui write_procedure_symbol_signature :: proc(sb: ^strings.Builder, value: SymbolProcedureValue) { strings.write_string(sb, "proc") + if s, ok := value.calling_convention.(string); ok { + fmt.sbprintf(sb, " %s ", s) + } strings.write_string(sb, "(") for arg, i in value.orig_arg_types { build_string_node(arg, sb, false) |