Sort all variable completions

I forgot to sort the last branch of variable completions in my last PR
This commit is contained in:
Yash Thakur 2024-07-05 17:17:26 -04:00 committed by GitHub
parent 948b90299d
commit 9f47471041
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -229,6 +229,8 @@ impl Completer for VariableCompletion {
}
}
output = sort_suggestions(&prefix_str, output, SortBy::Ascending);
output.dedup(); // TODO: Removes only consecutive duplicates, is it intended?
output