Remove an option that is written but never read
This commit is contained in:
parent
de11957fca
commit
3d3586417d
@ -149,7 +149,6 @@ function! vimwiki#base#setup_buffer_state(idx) " {{{ Init page-specific variable
|
|||||||
let subdir = vimwiki#base#current_subdir(a:idx)
|
let subdir = vimwiki#base#current_subdir(a:idx)
|
||||||
call VimwikiSet('subdir', subdir, a:idx)
|
call VimwikiSet('subdir', subdir, a:idx)
|
||||||
call VimwikiSet('invsubdir', vimwiki#base#invsubdir(subdir), a:idx)
|
call VimwikiSet('invsubdir', vimwiki#base#invsubdir(subdir), a:idx)
|
||||||
call VimwikiSet('url', vimwiki#html#get_wikifile_url(expand('%:p')), a:idx)
|
|
||||||
|
|
||||||
" update cache
|
" update cache
|
||||||
call vimwiki#base#cache_buffer_state()
|
call vimwiki#base#cache_buffer_state()
|
||||||
|
@ -1544,17 +1544,17 @@ function! s:binary_exists(fname) "{{{
|
|||||||
endfunction "}}}
|
endfunction "}}}
|
||||||
|
|
||||||
" uses VimwikiGet('path')
|
" uses VimwikiGet('path')
|
||||||
function! vimwiki#html#get_wikifile_url(wikifile) "{{{
|
function! s:get_wikifile_url(wikifile) "{{{
|
||||||
return VimwikiGet('path_html').
|
return VimwikiGet('path_html').
|
||||||
\ vimwiki#base#subdir(VimwikiGet('path'), a:wikifile).
|
\ vimwiki#base#subdir(VimwikiGet('path'), a:wikifile).
|
||||||
\ fnamemodify(a:wikifile, ":t:r").'.html'
|
\ fnamemodify(a:wikifile, ":t:r").'.html'
|
||||||
endfunction "}}}
|
endfunction "}}}
|
||||||
|
|
||||||
function! vimwiki#html#PasteUrl(wikifile) "{{{
|
function! vimwiki#html#PasteUrl(wikifile) "{{{
|
||||||
execute 'r !echo file://'.vimwiki#html#get_wikifile_url(a:wikifile)
|
execute 'r !echo file://'.s:get_wikifile_url(a:wikifile)
|
||||||
endfunction "}}}
|
endfunction "}}}
|
||||||
|
|
||||||
function! vimwiki#html#CatUrl(wikifile) "{{{
|
function! vimwiki#html#CatUrl(wikifile) "{{{
|
||||||
execute '!echo file://'.vimwiki#html#get_wikifile_url(a:wikifile)
|
execute '!echo file://'.s:get_wikifile_url(a:wikifile)
|
||||||
endfunction "}}}
|
endfunction "}}}
|
||||||
"}}}
|
"}}}
|
||||||
|
Loading…
Reference in New Issue
Block a user