parent
8c6bc81756
commit
cf8a16c5c7
@ -1689,7 +1689,9 @@ function! vimwiki#lst#fold_level(lnum)
|
|||||||
if child_item.type != 0
|
if child_item.type != 0
|
||||||
return 'a1'
|
return 'a1'
|
||||||
elseif next_item.type == 0
|
elseif next_item.type == 0
|
||||||
return 's1'
|
let c_indent = indent(a:lnum) / &shiftwidth
|
||||||
|
let n_indent = indent(a:lnum+1) / &shiftwidth
|
||||||
|
return 's' . (c_indent - n_indent)
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
return '='
|
return '='
|
||||||
|
Loading…
Reference in New Issue
Block a user