commit 8f24644967fc5b482e3eaba8ec7398ac3f6ca4fc
parent 918b07342d9b3f3437a02bdec128eeff6084f1d1
Author: EinfachToll <istjanichtzufassen@googlemail.com>
Date: Mon, 12 Jan 2015 09:34:59 +0100
Remove unused function parameter
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git 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")')