aboutsummaryrefslogtreecommitdiff
path: root/src/server/hover.odin
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/hover.odin')
-rw-r--r--src/server/hover.odin1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/server/hover.odin b/src/server/hover.odin
index ef4c046..fe69949 100644
--- a/src/server/hover.odin
+++ b/src/server/hover.odin
@@ -344,6 +344,7 @@ get_hover_information :: proc(document: ^Document, position: common.Position) ->
name = selector.name,
pkg = selector.pkg,
signature = get_enum_field_signature(v, i),
+ type = .Field,
}
hover.contents = write_hover_content(&ast_context, symbol)
return hover, true, true