Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Uzaaft committed Jul 24, 2024
1 parent 4b2755e commit b6d329e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lua/codesnap/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ function main.copy_ascii_snapshot(extension)
end

function main.save_snapshot_with_config(config)
vim.notify("Start to save snapshot in " .. config.save_path .. " ...")
if string_utils.is_str_empty(static.config.save_path) then
error(
"If you want to save snapshot in somewhere, you should config the save_path before, refer: https://github.com/mistricky/codesnap.nvim?tab=readme-ov-file#save-the-snapshot",
Expand Down

0 comments on commit b6d329e

Please sign in to comment.