Skip to content

Commit

Permalink
refactor(dap): move compiling notification
Browse files Browse the repository at this point in the history
  • Loading branch information
mrcjkb committed Jan 20, 2024
1 parent acddc41 commit 5cca364
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lua/rustaceanvim/dap.lua
Original file line number Diff line number Diff line change
Expand Up @@ -251,13 +251,13 @@ function M.start(args, verbose, callback)
return
end

if verbose then
vim.notify('Compiling a debug build for debugging. This might take some time...')
end
handle_configured_options(adapter, args)

local cargo_args = get_cargo_args_from_runnables_args(args)
local cmd = vim.list_extend({ 'cargo' }, cargo_args)
if verbose then
vim.notify('Compiling a debug build for debugging. This might take some time...')
end
compat.system(cmd, { cwd = args.workspaceRoot }, function(sc)
---@cast sc vim.SystemCompleted
local output = sc.stdout
Expand Down

0 comments on commit 5cca364

Please sign in to comment.