vimwiki

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

commit 65c4ffaccac9516182bdf9b64dbd67d2799520f8
parent 86a8604c4e127fa397c513471250c05b305244d3
Author: Petrus <silencly07@gmail.com>
Date:   Fri, 13 Apr 2018 17:03:21 +0800

fix missing custom_wiki2html_args default key

Ref #475 
Diffstat:
Mautoload/vimwiki/html.vim | 2+-
Mautoload/vimwiki/vars.vim | 1+
2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/autoload/vimwiki/html.vim b/autoload/vimwiki/html.vim @@ -1397,7 +1397,7 @@ function! vimwiki#html#CustomWiki2HTML(path, wikifile, force) "{{{ \ (len(vimwiki#vars#get_wikilocal('template_default')) > 0 ? vimwiki#vars#get_wikilocal('template_default') : '-'). ' '. \ (len(vimwiki#vars#get_wikilocal('template_ext')) > 0 ? vimwiki#vars#get_wikilocal('template_ext') : '-'). ' '. \ (len(vimwiki#vars#get_bufferlocal('subdir')) > 0 ? shellescape(s:root_path(vimwiki#vars#get_bufferlocal('subdir'))) : '-'). ' '. - \ (len(vimwiki#vars#get_global('custom_wiki2html_args')) > 0 ? vimwiki#vars#get_global('custom_wiki2html_args') : '-')) + \ (len(vimwiki#vars#get_wikilocal('custom_wiki2html_args')) > 0 ? vimwiki#vars#get_wikilocal('custom_wiki2html_args') : '-')) endfunction " }}} function! s:convert_file(path_html, wikifile) "{{{ diff --git a/autoload/vimwiki/vars.vim b/autoload/vimwiki/vars.vim @@ -187,6 +187,7 @@ function! s:populate_wikilocal_options() \ 'automatic_nested_syntaxes': 1, \ 'css_name': 'style.css', \ 'custom_wiki2html': '', + \ 'custom_wiki2html_args': '', \ 'diary_header': 'Diary', \ 'diary_index': 'diary', \ 'diary_rel_path': 'diary/',