aboutsummaryrefslogtreecommitdiff
path: root/src/server/hover.odin
diff options
context:
space:
mode:
authorBrad Lewis <22850972+BradLewis@users.noreply.github.com>2025-09-18 08:43:09 -0400
committerBrad Lewis <22850972+BradLewis@users.noreply.github.com>2025-09-21 08:55:43 -0400
commit035a0db206ae1651b8e853b5aff5c1562fc7715e (patch)
treebc7fb35673d5eae1747a650b980db18350b8612b /src/server/hover.odin
parenta498379ca16e1e0fc344c654a7e24710f8be77b6 (diff)
Rework how hover info is displayed for constants and types
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