inc-rename.nvim icon indicating copy to clipboard operation
inc-rename.nvim copied to clipboard

Execute `post_hook` even when canceled

Open eth3lbert opened this issue 1 year ago • 3 comments

Thank you for the great plugin!

I would like to suggest that the post_hook also be executed when the operation is canceled. Consider a scenario where we set inccommand to split and reset it in post_hook. Currently, post_hook only runs when the operation is executed successfully, which means it won't reset inccommand if inc-rename is canceled.

eth3lbert avatar Aug 21 '24 10:08 eth3lbert