Use pandoc as markdown equalprg, use only 72 for text width

Sun, 03 Dec 2017 17:31:55 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Sun, 03 Dec 2017 17:31:55 -0500
changeset 657
628b4b962086
parent 656
a74ea5b0fc73
child 658
69ed96c80ed0

Use pandoc as markdown equalprg, use only 72 for text width

.vim/ftplugin/mail.vim file | annotate | diff | comparison | revisions
.vim/ftplugin/markdown.vim file | annotate | diff | comparison | revisions
.vim/ftplugin/text.vim file | annotate | diff | comparison | revisions
--- a/.vim/ftplugin/mail.vim
+++ b/.vim/ftplugin/mail.vim
@@ -3,6 +3,8 @@ setl formatoptions=jaw12tcql
 setl spell
 setl noundofile noswapfile nobackup
 
+setl equalprg=pandoc\ -f\ markdown\ -t\ markdown
+
 " http://cedricduval.free.fr/download/mail.vim
 function! Mail_Erase_Sig()
   " search for the signature pattern (takes into account signature delimiters
--- a/.vim/ftplugin/markdown.vim
+++ b/.vim/ftplugin/markdown.vim
@@ -1,1 +1,3 @@
 runtime ftplugin/text.vim
+setl equalprg=pandoc\ -f\ markdown\ -t\ markdown
+
--- a/.vim/ftplugin/text.vim
+++ b/.vim/ftplugin/text.vim
@@ -1,2 +1,2 @@
-setl textwidth=80
+setl textwidth=72
 setl formatoptions+=awt12

mercurial