fix: windows build
This commit is contained in:
parent
9f57d8ef28
commit
29231ad87a
1 changed files with 1 additions and 1 deletions
|
|
@ -956,7 +956,7 @@ fn send_goto_request(self: *Self, from: tp.pid_ref, file_path: []const u8, row:
|
|||
}, handler) catch return error.LspFailed;
|
||||
}
|
||||
|
||||
fn file_uri_to_path(uri: []const u8, file_path_buf: []u8) error{InvalidTargetURI}![]const u8 {
|
||||
fn file_uri_to_path(uri: []const u8, file_path_buf: []u8) error{InvalidTargetURI}![]u8 {
|
||||
return std.Uri.percentDecodeBackwards(file_path_buf, if (std.mem.eql(u8, uri[0..7], "file://"))
|
||||
uri[7..]
|
||||
else if (std.mem.eql(u8, uri[0..5], "file:"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue