diff options
| author | DanielGavin <danielgavin5@hotmail.com> | 2023-03-25 22:08:34 +0100 |
|---|---|---|
| committer | DanielGavin <danielgavin5@hotmail.com> | 2023-03-25 22:08:34 +0100 |
| commit | 5edd504c40f5c942c84254ef5f27699867e3b103 (patch) | |
| tree | f4353d20f9b978fe877771915093987307401d66 /src/server/completion.odin | |
| parent | 41dd426960eab79952d35d2a979b2fbc6a6c8948 (diff) | |
Fix issue where we incorrectly used the document global ast instead of the indexer
Diffstat (limited to 'src/server/completion.odin')
| -rw-r--r-- | src/server/completion.odin | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/server/completion.odin b/src/server/completion.odin index ebd88db..da0a8fe 100644 --- a/src/server/completion.odin +++ b/src/server/completion.odin @@ -112,7 +112,6 @@ get_completion_list :: proc( if assign, ok := position_context.switch_type_stmt.tag.derived.(^ast.Assign_Stmt); ok && assign.rhs != nil && len(assign.rhs) == 1 { - ast_context.use_globals = true ast_context.use_locals = true if symbol, ok := resolve_type_expression( |