Build proper symbol definition so client can consume it in extended mode
This commit is contained in:
parent
8167458355
commit
669790a402
|
|
@ -62,7 +62,7 @@ public AutocompleteResponse getDoc(const AutocompleteRequest request,
|
||||||
continue;
|
continue;
|
||||||
firstSymbol = false;
|
firstSymbol = false;
|
||||||
|
|
||||||
AutocompleteResponse.Completion c;
|
AutocompleteResponse.Completion c = makeSymbolCompletionInfo(symbol, symbol.kind);
|
||||||
c.documentation = symbol.doc;
|
c.documentation = symbol.doc;
|
||||||
response.completions ~= c;
|
response.completions ~= c;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue