Skip to content

Commit

Permalink
fixup! fix path expansion
Browse files Browse the repository at this point in the history
  • Loading branch information
Jint-lzxy committed Jun 13, 2023
1 parent 00f11e2 commit fdb356c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/modules/utils/dap.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ function M.input_args()
end

function M.input_exec_path()
return vim.fn.input('Path to executable (default to "progout"): ', vim.fn.getcwd() .. "/progout", "file")
return vim.fn.input('Path to executable (default to "a.out"): ', vim.fn.expand("<cfile>:p:h") .. "/a.out", "file")
end

function M.get_env()
Expand Down

0 comments on commit fdb356c

Please sign in to comment.