diff options
author | Teddy Wing | 2018-02-13 22:24:27 +0100 |
---|---|---|
committer | Teddy Wing | 2018-02-13 22:24:27 +0100 |
commit | 29481da4c0c0b85f42b6df0377fdbffb12ab2615 (patch) | |
tree | c31723dec36ebeee5f46101a0d1924820008f782 | |
parent | a9be8499660a38c67fcbc4f22a4cfac602eeeba4 (diff) | |
download | dotvim-29481da4c0c0b85f42b6df0377fdbffb12ab2615.tar.bz2 |
ftplugin/mail.vim: Activate Vim's mail ftplugin
I was using a different machine and composing an email, but there I
wasn't getting a `textwidth` setting of 72. Instead it was unset. Ensure
the default mail ftplugin gets sourced so we get the proper `textwidth`,
plus some other niceties.
-rw-r--r-- | ftplugin/mail.vim | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ftplugin/mail.vim b/ftplugin/mail.vim index 80d125c..b42fa34 100644 --- a/ftplugin/mail.vim +++ b/ftplugin/mail.vim @@ -1,5 +1,10 @@ " Mail messages +if exists('b:did_ftplugin') + unlet b:did_ftplugin +endif + + " Automatically format paragraphs and set format=flowed "w" option setlocal formatoptions+=aw |