aboutsummaryrefslogtreecommitdiff
path: root/src/server/hover.odin
diff options
context:
space:
mode:
authorDaniel Gavin <danielgavin5@hotmail.com>2022-01-05 09:33:03 +0100
committerDaniel Gavin <danielgavin5@hotmail.com>2022-01-05 09:33:03 +0100
commit93df32b34b80da4d62644004160294d1d068a934 (patch)
treeed42f20ebda9993b1ad0ebe552043be5e9bd7bc5 /src/server/hover.odin
parent508b2487f45fac7a58549e4c5f8cde3f250ae568 (diff)
more refractoring by trying to store the variable information on the symbol.
Diffstat (limited to 'src/server/hover.odin')
-rw-r--r--src/server/hover.odin2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/hover.odin b/src/server/hover.odin
index 840e666..b77c0b1 100644
--- a/src/server/hover.odin
+++ b/src/server/hover.odin
@@ -60,7 +60,7 @@ get_hover_information :: proc(document: ^common.Document, position: common.Posit
},
};
- ast_context := make_ast_context(document.ast, document.imports, document.package_name, document.uri.uri);
+ ast_context := make_ast_context(document.ast, document.imports, document.package_name, document.uri.uri, &document.symbol_cache);
position_context, ok := get_document_position_context(document, position, .Hover);