diff options
| author | mo khan <mo@mokhan.ca> | 2021-07-25 12:13:17 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2021-07-25 12:13:17 -0600 |
| commit | dbb24bf826fae02f87ffa022c1735cdef83b14f9 (patch) | |
| tree | a02e9cf0f76d83e0d96ef463baffe063c906eaa5 | |
| parent | c6d0052b3e8e4945b9c4fa7a77eb4776120868c0 (diff) | |
set textwidth and formatoptions for markdown and mail
| -rw-r--r-- | ftplugin/mail.vim | 2 | ||||
| -rw-r--r-- | ftplugin/markdown.vim | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/ftplugin/mail.vim b/ftplugin/mail.vim index fab8b8a..35a9804 100644 --- a/ftplugin/mail.vim +++ b/ftplugin/mail.vim @@ -1,2 +1,4 @@ setlocal colorcolumn=72,80 setlocal spell +setlocal textwidth=80 +setlocal formatoptions+=t diff --git a/ftplugin/markdown.vim b/ftplugin/markdown.vim index 4da2609..b2f12e0 100644 --- a/ftplugin/markdown.vim +++ b/ftplugin/markdown.vim @@ -1,2 +1,4 @@ nnoremap setlocal spell setlocal colorcolumn=80,120 " show color columns +setlocal textwidth=80 +setlocal formatoptions+=t |
