fix: missing curl error message (#2527)
This commit is contained in:
@@ -790,7 +790,7 @@ For example:
|
||||
local parent_dir = vim.fn.fnamemodify(abs_path, ":h")
|
||||
--- check if the parent dir is exists, if not, create it
|
||||
if vim.fn.isdirectory(parent_dir) == 0 then vim.fn.mkdir(parent_dir, "p") end
|
||||
vim.api.nvim_buf_call(bufnr, function() vim.cmd("noautocmd write") end)
|
||||
vim.api.nvim_buf_call(bufnr, function() vim.cmd("noautocmd write!") end)
|
||||
if session_ctx then Helpers.mark_as_not_viewed(input.path, session_ctx) end
|
||||
on_complete(true, nil)
|
||||
end, { focus = not Config.behaviour.auto_focus_on_diff_view }, session_ctx, M.name)
|
||||
|
||||
Reference in New Issue
Block a user