inc-rename.nvim
inc-rename.nvim copied to clipboard
Execute `post_hook` even when canceled
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.