Skip to content

Commit a1cd063

Browse files
chore: update flake.lock (#731)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 12fcffa commit a1cd063

File tree

2 files changed

+36
-34
lines changed

2 files changed

+36
-34
lines changed

flake.lock

+27-27
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lua/rustaceanvim/commands/debuggables.lua

+9-7
Original file line numberDiff line numberDiff line change
@@ -203,13 +203,15 @@ function M.add_dap_debuggables()
203203
-- Defer, because rust-analyzer may not be ready yet
204204
runnables_request(mk_handler(add_debuggables_to_nvim_dap))
205205
local timer = vim.uv.new_timer()
206-
timer:start(
207-
2000,
208-
0,
209-
vim.schedule_wrap(function()
210-
runnables_request(mk_handler(add_debuggables_to_nvim_dap))
211-
end)
212-
)
206+
if timer ~= nil then
207+
timer:start(
208+
2000,
209+
0,
210+
vim.schedule_wrap(function()
211+
runnables_request(mk_handler(add_debuggables_to_nvim_dap))
212+
end)
213+
)
214+
end
213215
end
214216

215217
return M

0 commit comments

Comments
 (0)