From d7488e3291183123a743f0901ae6bee533a3d56b Mon Sep 17 00:00:00 2001 From: Carl Helmertz Date: Fri, 12 Sep 2014 11:15:47 +0200 Subject: [PATCH] html export: Let the user know where to find the output This works both for :Vimwiki2HTML and :VimwikiAll2HTML. Signed-off-by: Carl Helmertz --- autoload/vimwiki/html.vim | 1 + ftplugin/vimwiki.vim | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/autoload/vimwiki/html.vim b/autoload/vimwiki/html.vim index 8e863f0..6893cd9 100644 --- a/autoload/vimwiki/html.vim +++ b/autoload/vimwiki/html.vim @@ -1561,6 +1561,7 @@ function! vimwiki#html#WikiAll2HTML(path_html) "{{{ call VimwikiSet('invsubdir', current_invsubdir) call s:create_default_CSS(path_html) + echomsg 'HTML exported to '.path_html echomsg 'Done!' let &more = setting_more diff --git a/ftplugin/vimwiki.vim b/ftplugin/vimwiki.vim index 9b514e3..9bc5fc0 100644 --- a/ftplugin/vimwiki.vim +++ b/ftplugin/vimwiki.vim @@ -255,9 +255,9 @@ command! -buffer Vimwiki2HTML \ let res = vimwiki#html#Wiki2HTML(expand(VimwikiGet('path_html')), \ expand('%')) \ - \ if res != '' | echo 'Vimwiki: HTML conversion is done.' | endif + \ if res != '' | echo 'Vimwiki: HTML conversion is done, output: '.expand(VimwikiGet('path_html')) | endif command! -buffer Vimwiki2HTMLBrowse - \ silent w + \ silent w \ call vimwiki#base#system_open_link(vimwiki#html#Wiki2HTML( \ expand(VimwikiGet('path_html')), \ expand('%')))