Completion for index label in for loops and fix for function snippets

This commit is contained in:
Luuk de Gram
2021-03-09 19:53:59 +01:00
parent 858f3cb282
commit 3ac6c82b9a
3 changed files with 44 additions and 15 deletions

View File

@@ -585,7 +585,7 @@ pub fn symbolReferences(
return;
};
},
.pointer_payload, .switch_payload, .array_payload => {
.pointer_payload, .switch_payload, .array_payload, .array_index => {
if (include_decl) {
try tokenReference(curr_handle, decl_handle.nameToken(), encoding, context, handler);
}