From 0ad4b69dad9bd721c9b7a5d4ee4946dec279976e Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Tue, 4 Feb 2020 13:27:50 +0100 Subject: [PATCH] [ADD][VIM] Mail filetype configuration --- vim/.vim/after/ftplugin/mail.vim | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 vim/.vim/after/ftplugin/mail.vim diff --git a/vim/.vim/after/ftplugin/mail.vim b/vim/.vim/after/ftplugin/mail.vim new file mode 100644 index 0000000..fd9624b --- /dev/null +++ b/vim/.vim/after/ftplugin/mail.vim @@ -0,0 +1,6 @@ +" Create the `b:undo_ftplugin` variable if it doesn't exist +call ftplugined#check_undo_ft() + +" Change max length of a line to 72 to follow the netiquette +setlocal colorcolumn=72 +let b:undo_ftplugin.='|setlocal colorcolumn<'