Update lsp-types to properly handle brackets (#37166)

Closes #21062

See also this pull request:
https://github.com/zed-industries/lsp-types/pull/6.

Release Notes:

- Fixed incorrect URL encoding of file paths with `[` `]` in them
This commit is contained in:
Wouter Kayser
2025-08-29 17:08:42 +03:00
committed by GitHub
parent ff035e8a22
commit 20d32d111c
23 changed files with 223 additions and 215 deletions
@@ -533,7 +533,7 @@ async fn test_remote_lsp(cx: &mut TestAppContext, server_cx: &mut TestAppContext
Ok(Some(lsp::WorkspaceEdit {
changes: Some(
[(
lsp::Url::from_file_path(path!("/code/project1/src/lib.rs")).unwrap(),
lsp::Uri::from_file_path(path!("/code/project1/src/lib.rs")).unwrap(),
vec![lsp::TextEdit::new(
lsp::Range::new(lsp::Position::new(0, 3), lsp::Position::new(0, 6)),
"two".to_string(),