aboutsummaryrefslogtreecommitdiff
path: root/src/server/hover.odin
diff options
context:
space:
mode:
authorBradley Lewis <22850972+BradLewis@users.noreply.github.com>2025-09-21 12:22:45 -0400
committerGitHub <noreply@github.com>2025-09-21 12:22:45 -0400
commit1009de179a717c8b355acb8b1268fedc9b2d089c (patch)
treea9728e212a63dc84c9f1ed0e2a567ce62687375c /src/server/hover.odin
parenta79efd27be8e6951aaa5b7e4bd785121e857c32c (diff)
parent225b794cd3bbb0f116a4cf6e389aa5194c5eca46 (diff)
Merge pull request #1028 from BradLewis/feat/rework-const-hover-info
Feat/rework const hover info
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