From 638ec6077cdb6fea4c437e0b827f915e5f34be43 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Mon, 31 Aug 2020 20:18:10 +0200 Subject: [PATCH] [ADD][VIM] No white-space prompt for gitsendemail --- vim/.vim/after/ftplugin/gitsendemail.vim | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 vim/.vim/after/ftplugin/gitsendemail.vim diff --git a/vim/.vim/after/ftplugin/gitsendemail.vim b/vim/.vim/after/ftplugin/gitsendemail.vim new file mode 100644 index 0000000..d33306c --- /dev/null +++ b/vim/.vim/after/ftplugin/gitsendemail.vim @@ -0,0 +1,6 @@ +" Create the `b:undo_ftplugin` variable if it doesn't exist +call ftplugined#check_undo_ft() + +" Disable the prompt to delete whitespace +DisableStripWhitespaceOnSave +let b:undo_ftplugin.='|EnableStripWhitespaceOnSave'