Add space in the function definition

Co-authored-by: Jan Jurzitza <gh@webfreak.org>
This commit is contained in:
ryuukk 2023-02-14 23:58:06 +01:00 committed by GitHub
parent f080f39b37
commit 22b5fcf0a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -768,7 +768,7 @@ AutocompleteResponse.Completion makeSymbolCompletionInfo(const DSymbol* symbol,
{ {
string retTypeName = symbol.type.type.name; string retTypeName = symbol.type.type.name;
string fnName = symbol.type.name; string fnName = symbol.type.name;
definition = fnName ~ "()->" ~ retTypeName ~ " " ~ symbol.name; definition = fnName ~ "() -> " ~ retTypeName ~ " " ~ symbol.name;
} }
else else
definition = symbol.type.name ~ ' ' ~ symbol.name; definition = symbol.type.name ~ ' ' ~ symbol.name;