vimwiki

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

commit 80a94cd8c76f91474591aa723795176f72832734
parent c21de17a345eeb4baefb470e4575532f044a91e8
Author: Rane Brown <rane.brown@gmail.com>
Date:   Wed,  3 Apr 2019 10:48:23 -0600

Correctly indent diary section links when list_margin is 0

Diffstat:
Mautoload/vimwiki/diary.vim | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/autoload/vimwiki/diary.vim b/autoload/vimwiki/diary.vim @@ -366,7 +366,7 @@ function! vimwiki#diary#generate_diary_section() endif let entry = substitute(link_tpl, '__LinkUrl__', fl.'#'.subcap, '') let entry = substitute(entry, '__LinkDescription__', subcap, '') - call add(lines, repeat(' ', vimwiki#lst#get_list_margin() * (2 + depth)).'- '.entry) + call add(lines, repeat(' ', vimwiki#lst#get_list_margin()+1 * (2 + depth)).'- '.entry) endfor endfor