committed by
Rane Brown
parent
8c6bc81756
commit
cf8a16c5c7
@ -1689,7 +1689,9 @@ function! vimwiki#lst#fold_level(lnum)
|
||||
if cur_item.type != 0
|
||||
let parent_item = s:get_parent(cur_item)
|
||||
let child_item = s:get_first_child(cur_item)
|
||||
let next_item = s:get_next_child_item(parent_item, cur_item)
|
||||
let next_item = s:get_next_child_item(parent_item, cur_item)
|
||||
if child_item.type != 0
|
||||
return 'a1'
|
||||
elseif next_item.type == 0
|
||||
let c_indent = indent(a:lnum) / &shiftwidth
|
||||
let n_indent = indent(a:lnum+1) / &shiftwidth
|
||||
|
Reference in New Issue
Block a user