diff options
| author | Brad Lewis <22850972+BradLewis@users.noreply.github.com> | 2025-08-05 20:34:46 -0400 |
|---|---|---|
| committer | Brad Lewis <22850972+BradLewis@users.noreply.github.com> | 2025-08-09 13:28:11 -0400 |
| commit | 96c2fad666f5820db1455e15059959296392e97e (patch) | |
| tree | a8644282db84c46a9c818cd55dc68fc9915e8b90 /src/server/collector.odin | |
| parent | 2c2c3052607fce94dce400eb47c60a05c7cc1048 (diff) | |
Add union align and kind to hover information
Diffstat (limited to 'src/server/collector.odin')
| -rw-r--r-- | src/server/collector.odin | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/server/collector.odin b/src/server/collector.odin index eaf1229..cc72509 100644 --- a/src/server/collector.odin +++ b/src/server/collector.odin @@ -266,6 +266,8 @@ collect_union_fields :: proc( poly = cast(^ast.Field_List)clone_type(union_type.poly_params, collection.allocator, &collection.unique_strings), comments = comments[:], docs = docs[:], + kind = union_type.kind, + align = clone_type(union_type.align, collection.allocator, &collection.unique_strings), } return value |