fix inlayHints ordering

This commit is contained in:
WebFreak001 2023-12-04 10:49:24 +01:00
parent 52281e97fe
commit b735f2bcc4
No known key found for this signature in database
GPG Key ID: AEFC88D11109D1AA
1 changed files with 3 additions and 0 deletions

View File

@ -104,5 +104,8 @@ public AutocompleteResponse getInlayHints(const AutocompleteRequest request,
foreach(part; symbol.opSlice()) foreach(part; symbol.opSlice())
check(part, visited); check(part, visited);
} }
response.completions.sort!"a.symbolLocation < b.symbolLocation";
return response; return response;
} }