pandoc.vim 625 B

123456789101112131415
  1. " Pandoc files are to explicitly use `.pandoc`.
  2. " Normal markdown files should not use Pandoc Markdown behaviours.
  3. let g:pandoc#filetypes#pandoc_markdown = 0
  4. " Pandoc's syntax concealing does fancy character conversions e.g. '...' to
  5. " proper ellipsis. However, the conceal highlighting often does not work well
  6. " with the Goyo/Limelight (distraction-free writing) plugins, which otherwise
  7. " complement Pandoc.
  8. let g:pandoc#syntax#conceal#use = 0
  9. " Write `docx` versions of `pandoc` files on save.
  10. let g:pandoc#command#autoexec_on_writes = 1
  11. let g:pandoc#command#autoexec_command = 'Pandoc docx --smart'
  12. map <leader>z 1z=