diff options
Diffstat (limited to 'vim/ftplugin/mail.vim')
-rw-r--r-- | vim/ftplugin/mail.vim | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/vim/ftplugin/mail.vim b/vim/ftplugin/mail.vim index 35432b96..236f25ff 100644 --- a/vim/ftplugin/mail.vim +++ b/vim/ftplugin/mail.vim @@ -1,2 +1,9 @@ " Use trailing whitespace to denote continued paragraph setlocal formatoptions+=w + +" Undo +if !exists('b:undo_ftplugin') + let b:undo_ftplugin = '' +endif +let b:undo_ftplugin = b:undo_ftplugin + \ . '|setlocal formatoptions<' |