diff options
| author | DanielGavin <danielgavin5@hotmail.com> | 2020-12-26 14:37:24 +0100 |
|---|---|---|
| committer | DanielGavin <danielgavin5@hotmail.com> | 2020-12-26 14:37:24 +0100 |
| commit | 09f299c95aec2b6c4689f4bb3148a397339f0c55 (patch) | |
| tree | 24f154e5b586e583f68cd7ae3f99ea5ef7b02ff1 /src/server | |
| parent | de9f17b55b781a038aa30c5956fc72e4b2d13e3a (diff) | |
handle not finding the hover correctly
Diffstat (limited to 'src/server')
| -rw-r--r-- | src/server/analysis.odin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/analysis.odin b/src/server/analysis.odin index 358653d..5e929e5 100644 --- a/src/server/analysis.odin +++ b/src/server/analysis.odin @@ -1880,7 +1880,7 @@ get_hover_information :: proc(document: ^Document, position: common.Position) -> selector, ok = resolve_type_expression(&ast_context, position_context.selector); if !ok { - return {}, true; + return hover, true; } field: string; |