html export: Let the user know where to find the output
This works both for :Vimwiki2HTML and :VimwikiAll2HTML. Signed-off-by: Carl Helmertz <chelmertz@op5.com>
This commit is contained in:
parent
2c03d82a0e
commit
d7488e3291
@ -1561,6 +1561,7 @@ function! vimwiki#html#WikiAll2HTML(path_html) "{{{
|
|||||||
call VimwikiSet('invsubdir', current_invsubdir)
|
call VimwikiSet('invsubdir', current_invsubdir)
|
||||||
|
|
||||||
call s:create_default_CSS(path_html)
|
call s:create_default_CSS(path_html)
|
||||||
|
echomsg 'HTML exported to '.path_html
|
||||||
echomsg 'Done!'
|
echomsg 'Done!'
|
||||||
|
|
||||||
let &more = setting_more
|
let &more = setting_more
|
||||||
|
@ -255,9 +255,9 @@ command! -buffer Vimwiki2HTML
|
|||||||
\ let res = vimwiki#html#Wiki2HTML(expand(VimwikiGet('path_html')),
|
\ let res = vimwiki#html#Wiki2HTML(expand(VimwikiGet('path_html')),
|
||||||
\ expand('%'))
|
\ expand('%'))
|
||||||
\<bar>
|
\<bar>
|
||||||
\ 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
|
command! -buffer Vimwiki2HTMLBrowse
|
||||||
\ silent w <bar>
|
\ silent w <bar>
|
||||||
\ call vimwiki#base#system_open_link(vimwiki#html#Wiki2HTML(
|
\ call vimwiki#base#system_open_link(vimwiki#html#Wiki2HTML(
|
||||||
\ expand(VimwikiGet('path_html')),
|
\ expand(VimwikiGet('path_html')),
|
||||||
\ expand('%')))
|
\ expand('%')))
|
||||||
|
Loading…
Reference in New Issue
Block a user