Add vim-pandoc support

Do not autoformat code, HTML, LaTeX math blocks, lists, tables or
YAML in pandoc documents.
This commit is contained in:
Damien Burke
2017-01-02 22:37:32 -08:00
parent fd75347422
commit 9ad784bc23

View File

@@ -111,6 +111,16 @@ if !exists('g:pencil#autoformat_config')
\ 'txtCode', \ 'txtCode',
\ ], \ ],
\ }, \ },
\ 'pandoc': {
\ 'black': [
\ '^pandoc.*Code.*',
\ 'pandocHTML',
\ 'pandocLaTeXMathBlock',
\ '^pandoc.*List.*',
\ '^pandoc.*Table.*',
\ 'pandocYAMLHeader',
\ ],
\ }
\ } \ }
en en
if !exists('g:pencil#autoformat_aliases') if !exists('g:pencil#autoformat_aliases')