Fix spontaneous change of list symbol

This commit is contained in:
EinfachToll 2014-03-03 09:15:38 +01:00
parent 2eccebc7ea
commit ddab77bb8f

View File

@ -993,6 +993,10 @@ function! s:change_level(from_line, to_line, direction, plus_children) "{{{
return
endif
if a:direction == 'decrease' && s:get_level(from_item.lnum) == 0
return
endif
if a:from_line == a:to_line
if a:plus_children
let to_line = s:get_last_line_of_item_incl_children(from_item)