Ops little 'typo'!
This commit is contained in:
parent
8b27f6f4a5
commit
d5bc235309
|
|
@ -772,7 +772,7 @@ AutocompleteResponse.Completion makeSymbolCompletionInfo(const DSymbol* symbol,
|
||||||
// TODO: should probably make it fully recursive,
|
// TODO: should probably make it fully recursive,
|
||||||
if(s.type && s.type.kind == CompletionKind.functionName) s = s.type;
|
if(s.type && s.type.kind == CompletionKind.functionName) s = s.type;
|
||||||
|
|
||||||
definition = s.type.name ~ ' ' ~ symbol.name;
|
definition = s.name ~ ' ' ~ symbol.name;
|
||||||
}
|
}
|
||||||
else if (kind == CompletionKind.enumMember)
|
else if (kind == CompletionKind.enumMember)
|
||||||
definition = symbol.name; // TODO: add enum value to definition string
|
definition = symbol.name; // TODO: add enum value to definition string
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue