We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e45f4ea commit 3b2f652Copy full SHA for 3b2f652
lua/flutter-tools/runners/debugger_runner.lua
@@ -146,6 +146,10 @@ local function handle_inspect_event(isolate_id)
146
147
if location and location.file and location.line then
148
local file = location.file:gsub("^file://", "")
149
+ if vim.loop.os_uname().sysname == "Windows_NT" then
150
+ -- On Windows, the file URI may start with an extra slash
151
+ file = file:gsub("^/", "")
152
+ end
153
vim.schedule(function()
154
vim.cmd("edit " .. vim.fn.fnameescape(file))
155
vim.api.nvim_win_set_cursor(0, { location.line, (location.column or 1) - 1 })
0 commit comments