Correctly indent diary section links when list_margin is 0
This commit is contained in:
parent
c21de17a34
commit
80a94cd8c7
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user