parent
d73c1e4ed6
commit
9b744b42b1
@ -48,6 +48,10 @@ function! s:create_temporary_wiki()
|
|||||||
\ }
|
\ }
|
||||||
|
|
||||||
call vimwiki#vars#add_temporary_wiki(new_temp_wiki_settings)
|
call vimwiki#vars#add_temporary_wiki(new_temp_wiki_settings)
|
||||||
|
|
||||||
|
" Update the wiki number of the current buffer, because it may have changed when adding this
|
||||||
|
" temporary wiki.
|
||||||
|
call vimwiki#vars#set_bufferlocal('wiki_nr', vimwiki#base#find_wiki(expand('%:p')))
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user