From 8f24644967fc5b482e3eaba8ec7398ac3f6ca4fc Mon Sep 17 00:00:00 2001 From: EinfachToll Date: Mon, 12 Jan 2015 09:34:59 +0100 Subject: [PATCH] Remove unused function parameter --- autoload/vimwiki/html.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/autoload/vimwiki/html.vim b/autoload/vimwiki/html.vim index c0d4f1c..fad072d 100644 --- a/autoload/vimwiki/html.vim +++ b/autoload/vimwiki/html.vim @@ -103,7 +103,7 @@ function! s:template_full_name(name) "{{{ endif endfunction "}}} -function! s:get_html_template(wikifile, template) "{{{ +function! s:get_html_template(template) "{{{ " TODO: refactor it!!! let lines=[] @@ -1437,7 +1437,7 @@ function! vimwiki#html#Wiki2HTML(path_html, wikifile) "{{{ let title = s:process_title(placeholders, fnamemodify(a:wikifile, ":t:r")) - let html_lines = s:get_html_template(a:wikifile, template_name) + let html_lines = s:get_html_template(template_name) " processing template variables (refactor to a function) call map(html_lines, 'substitute(v:val, "%title%", "'. title .'", "g")')