Correctly indent diary section links when list_margin is 0

This commit is contained in:
Rane Brown 2019-04-03 10:48:23 -06:00
parent c21de17a34
commit 80a94cd8c7
1 changed files with 1 additions and 1 deletions

View File

@ -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