vimwiki

Personal wiki for vim
git clone https://github.com/vimwiki/vimwiki.git
Log | Files | Refs | README | LICENSE

commit bd65f7dd7c0d63cda867079c9ccf4f71d5d3b1fd
parent d7ec12645a0460a7d200279c52915e6e080e9869
Author: dmitry kim <jason@nichego.net>
Date:   Fri, 10 Jun 2022 20:50:05 +0300

make vimwiki#html#Wiki2HTML respect 'html_filename_parameterization'

Fixes `:Vimwiki2HTMLBrowse` when vimwiki_markdown is in use.

Diffstat:
Mautoload/vimwiki/html.vim | 6+++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/autoload/vimwiki/html.vim b/autoload/vimwiki/html.vim @@ -1870,7 +1870,11 @@ function! s:convert_file(path_html, wikifile) abort let force = 1 call vimwiki#html#CustomWiki2HTML(root_path_html, path_html, wikifile, force) let done = 1 - return path_html . htmlfile + if vimwiki#vars#get_wikilocal('html_filename_parameterization') + return path_html . s:parameterized_wikiname(htmlfile) + else + return path_html.htmlfile + endif endif if s:syntax_supported() && done == 0