Add completions.sort option (#13311)

This commit is contained in:
Yash Thakur
2024-08-05 20:30:10 -04:00
committed by GitHub
parent 2f44801414
commit 6d36941e55
15 changed files with 139 additions and 85 deletions

View File

@ -1195,17 +1195,17 @@ mod tests {
assert_json_include!(
actual: result,
expected: serde_json::json!([
{
"label": "def",
"textEdit": {
"newText": "def",
"range": {
"start": { "character": 0, "line": 0 },
"end": { "character": 2, "line": 0 }
}
},
"kind": 14
}
{
"label": "overlay",
"textEdit": {
"newText": "overlay",
"range": {
"start": { "character": 0, "line": 0 },
"end": { "character": 2, "line": 0 }
}
},
"kind": 14
},
])
);
}