Issue #12: multiple diary with calendar
Unfortunatly there is no way to update calendar signs when wiki is changed. We could convince calendar mainteiner to provide a hook.
This commit is contained in:
parent
a4e168fb6e
commit
b09077c908
@ -341,8 +341,8 @@ function! vimwiki#diary#calendar_action(day, month, year, week, dir) "{{{
|
||||
endif
|
||||
endif
|
||||
|
||||
" Create diary note for a selected date in default wiki.
|
||||
call vimwiki#diary#make_note(1, 0, link)
|
||||
" XXX: Well, +1 is for inconsistent index basing...
|
||||
call vimwiki#diary#make_note(g:vimwiki_current_idx+1, 0, link)
|
||||
endfunction "}}}
|
||||
|
||||
" Sign function.
|
||||
|
Loading…
Reference in New Issue
Block a user