diff options
| author | DanielGavin <danielgavin5@hotmail.com> | 2025-10-19 17:04:25 +0200 |
|---|---|---|
| committer | DanielGavin <danielgavin5@hotmail.com> | 2025-10-19 17:04:25 +0200 |
| commit | 9f2e58e63db1efbb5a126526a1d2537c98aeb882 (patch) | |
| tree | ddf524b4ba1b5bf901fcf0a47fd5cd7256244e63 /src/server/diagnostics.odin | |
| parent | 68a1d21b27c4082af691c50661835df958dce993 (diff) | |
Use the same create_uri function to ensure the uri is consistant when sending diagnostics.uri-fix-diagnostics
Diffstat (limited to 'src/server/diagnostics.odin')
| -rw-r--r-- | src/server/diagnostics.odin | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/server/diagnostics.odin b/src/server/diagnostics.odin index 821aa74..2237f8c 100644 --- a/src/server/diagnostics.odin +++ b/src/server/diagnostics.odin @@ -20,12 +20,6 @@ add_diagnostics :: proc(type: DiagnosticType, uri: string, diagnostic: Diagnosti return } - uri := uri - - when ODIN_OS == .Windows { - uri = strings.to_lower(uri, context.temp_allocator) - } - diagnostic_array := &diagnostic_type[uri] if diagnostic_array == nil { @@ -49,12 +43,6 @@ remove_diagnostics :: proc(type: DiagnosticType, uri: string) { return } - uri := uri - - when ODIN_OS == .Windows { - uri = strings.to_lower(uri, context.temp_allocator) - } - diagnostic_array := &diagnostic_type[uri] if diagnostic_array == nil { |