Skip to content

Commit

Permalink
fix inlayHints ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
WebFreak001 committed Dec 4, 2023
1 parent 2bb0326 commit 25139a8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/dcd/server/autocomplete/inlayhints.d
Original file line number Diff line number Diff line change
Expand Up @@ -104,5 +104,8 @@ public AutocompleteResponse getInlayHints(const AutocompleteRequest request,
foreach(part; symbol.opSlice())
check(part, visited);
}

response.completions.sort!"a.symbolLocation < b.symbolLocation";

return response;
}

0 comments on commit 25139a8

Please sign in to comment.