vimwiki

Personal wiki for vim
git clone https://github.com/vimwiki/vimwiki.git
Log | Files | Refs | README | LICENSE

commit b09077c90827caff6898e4ad5db196f932dac50a
parent a4e168fb6e5456f2ba48da6c3b5a5aaf6f060db0
Author: Maxim Kim <habamax@gmail.com>
Date:   Thu, 15 Aug 2013 19:21:08 +0400

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.

Diffstat:
Mautoload/vimwiki/diary.vim | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/autoload/vimwiki/diary.vim b/autoload/vimwiki/diary.vim @@ -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.