diff options
-rw-r--r-- | vim/after/ftplugin/mail.vim | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/vim/after/ftplugin/mail.vim b/vim/after/ftplugin/mail.vim index 85db8c9e..f4a4c91d 100644 --- a/vim/after/ftplugin/mail.vim +++ b/vim/after/ftplugin/mail.vim @@ -1,6 +1,7 @@ " Don't append spaces after quote chars, for strict compliance with " format=flowed let b:quote_space = 0 +let b:undo_ftplugin .= '|unlet b:quote_space' " If something hasn't already moved the cursor, we'll move to an optimal point " to start writing @@ -44,6 +45,7 @@ function! s:SuggestStart() abort endfunction command! -bar -buffer SuggestStart \ call s:SuggestStart() +let b:undo_ftplugin .= '|delcommand SuggestStart' SuggestStart " Normalise quoting @@ -77,6 +79,7 @@ function! s:StrictQuote() abort endfunction command -bar -buffer StrictQuote \ call s:StrictQuote() +let b:undo_ftplugin .= '|delcommand StrictQuote' StrictQuote " Add a space to the end of wrapped lines for format-flowed mail |