The FilterWritePre event:Fires:Before writing a file for a filter command or making a diff with an external diff.Notes:Neovim checks the pattern against the name of the current buffer, not the name of the temporary file that is the output of the filter command.This event does not fire when 'shelltemp' is off.