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
+1 -1
View File
@@ -202,7 +202,7 @@ pub struct Diagnostic {
pub source: Option<String>,
/// A machine-readable code that identifies this diagnostic.
pub code: Option<NumberOrString>,
pub code_description: Option<lsp::Url>,
pub code_description: Option<lsp::Uri>,
/// Whether this diagnostic is a hint, warning, or error.
pub severity: DiagnosticSeverity,
/// The human-readable message associated with this diagnostic.