diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2020-06-04 09:33:00 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2020-06-04 09:33:00 +1200 |
commit | 17af4c920db1b3d50ee267e750c15ed52018f183 (patch) | |
tree | aa2278ec23f5c76106777b9a26a65a3794dd846d /vim/after/ftplugin/mail.vim | |
parent | Merge branch 'hotfix/v9.16.2' into develop (diff) | |
download | dotfiles-17af4c920db1b3d50ee267e750c15ed52018f183.tar.gz dotfiles-17af4c920db1b3d50ee267e750c15ed52018f183.zip |
Add workaround for bad map settings in mail.vim
Diffstat (limited to 'vim/after/ftplugin/mail.vim')
-rw-r--r-- | vim/after/ftplugin/mail.vim | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/vim/after/ftplugin/mail.vim b/vim/after/ftplugin/mail.vim index 1ed5a71f..4c07bac3 100644 --- a/vim/after/ftplugin/mail.vim +++ b/vim/after/ftplugin/mail.vim @@ -1,3 +1,13 @@ +" Restore global value for no_mail_maps that we set in +" ~/.vim/ftplugin/mail.vim to work around the bad maps set in +" $VIMRUNTIME/ftplugin/mail.vim +" +if exists('b:no_mail_maps') + let no_mail_maps = b:no_mail_maps +elseif exists('no_mail_maps') + unlet no_mail_maps +endif + " Don't append spaces after quote chars, for strict compliance with " format=flowed let b:quote_space = 0 |