diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2013-05-07 09:47:00 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2013-05-07 09:47:00 +1200 |
commit | 23d41f8c71f272a736906fbeb8d46441aa38dd66 (patch) | |
tree | c73e17a7d7500f65752496ff46fb3ee22b373915 /vim/after | |
parent | Still tweaking Mutt config, nearly happy (diff) | |
download | dotfiles-23d41f8c71f272a736906fbeb8d46441aa38dd66.tar.gz dotfiles-23d41f8c71f272a736906fbeb8d46441aa38dd66.zip |
formatoptions should not be set in vimrc
I have learned my lesson
Diffstat (limited to 'vim/after')
-rw-r--r-- | vim/after/ftplugin/mail.vim | 7 | ||||
-rw-r--r-- | vim/after/ftplugin/markdown.vim | 3 |
2 files changed, 8 insertions, 2 deletions
diff --git a/vim/after/ftplugin/mail.vim b/vim/after/ftplugin/mail.vim index 2d623e67..a7e4daa8 100644 --- a/vim/after/ftplugin/mail.vim +++ b/vim/after/ftplugin/mail.vim @@ -1,3 +1,6 @@ -" Make emails slightly less of a pain to type -setlocal formatoptions+=aw +" Auto-format within textwidth +setlocal formatoptions+=a + +" Use trailing whitespace to denote continued paragraph +setlocal formatoptions+=w diff --git a/vim/after/ftplugin/markdown.vim b/vim/after/ftplugin/markdown.vim new file mode 100644 index 00000000..8366275b --- /dev/null +++ b/vim/after/ftplugin/markdown.vim @@ -0,0 +1,3 @@ +" Auto-format within textwidth +setlocal formatoptions+=a + |