mirror of
https://github.com/helix-editor/helix.git
synced 2025-04-04 19:37:54 +03:00
stable sort lsp edits (#11357)
This commit is contained in:
parent
fa13b2bd0d
commit
8e041c99df
2 changed files with 2 additions and 2 deletions
|
@ -1360,7 +1360,7 @@ fn compute_inlay_hints_for_view(
|
|||
|
||||
// Most language servers will already send them sorted but ensure this is the case to
|
||||
// avoid errors on our end.
|
||||
hints.sort_unstable_by_key(|inlay_hint| inlay_hint.position);
|
||||
hints.sort_by_key(|inlay_hint| inlay_hint.position);
|
||||
|
||||
let mut padding_before_inlay_hints = Vec::new();
|
||||
let mut type_inlay_hints = Vec::new();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue