From 3c7fa45273fd48945024aedc352a5b86114addd9 Mon Sep 17 00:00:00 2001 From: Thomas Hodgson Date: Tue, 31 Oct 2017 19:00:05 +0000 Subject: [PATCH] remove --smart flag from Pandoc The --smart flag is deprecated as of Pandoc v2 --- plugin/vim-markdown-preview.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/vim-markdown-preview.vim b/plugin/vim-markdown-preview.vim index 9b02d79..082c69f 100644 --- a/plugin/vim-markdown-preview.vim +++ b/plugin/vim-markdown-preview.vim @@ -66,7 +66,7 @@ function! Vim_Markdown_Preview() elseif g:vim_markdown_preview_perl == 1 call system('Markdown.pl "' . b:curr_file . '" > /tmp/vim-markdown-preview.html') elseif g:vim_markdown_preview_pandoc == 1 - call system('pandoc --smart --standalone "' . b:curr_file . '" > /tmp/vim-markdown-preview.html') + call system('pandoc --standalone "' . b:curr_file . '" > /tmp/vim-markdown-preview.html') else call system('markdown "' . b:curr_file . '" > /tmp/vim-markdown-preview.html') endif @@ -120,7 +120,7 @@ function! Vim_Markdown_Preview_Local() elseif g:vim_markdown_preview_perl == 1 call system('Markdown.pl "' . b:curr_file . '" > /tmp/vim-markdown-preview.html') elseif g:vim_markdown_preview_pandoc == 1 - call system('pandoc --smart --standalone "' . b:curr_file . '" > /tmp/vim-markdown-preview.html') + call system('pandoc --standalone "' . b:curr_file . '" > /tmp/vim-markdown-preview.html') else call system('markdown "' . b:curr_file . '" > vim-markdown-preview.html') endif -- 2.45.2