How do I cancel the write in the BufWritePre
/FileWritePre
auto command?
I already looked at this question and the proposed solution, throw
, displays error messages, and I don't want that. It should be transparent to the user that nothing got written, since I am displaying my own error message.