Build proper symbol definition so client can consume it in extended mode

This commit is contained in:
ryuukk 2023-11-13 20:43:30 +01:00 committed by GitHub
parent 8167458355
commit 669790a402
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ public AutocompleteResponse getDoc(const AutocompleteRequest request,
continue;
firstSymbol = false;
AutocompleteResponse.Completion c;
AutocompleteResponse.Completion c = makeSymbolCompletionInfo(symbol, symbol.kind);
c.documentation = symbol.doc;
response.completions ~= c;
}