Revert more of my earlier commit in order to fix #6
This commit is contained in:
parent
5b2f01094b
commit
b26591437b
@ -212,7 +212,7 @@ function! s:guess_kind_of_numbered_item(item) "{{{
|
|||||||
return 'a'
|
return 'a'
|
||||||
else
|
else
|
||||||
|
|
||||||
let item_above = s:get_prev_list_item(a:item, 1)
|
let item_above = s:get_prev_list_item(a:item, 0)
|
||||||
if item_above.type != 0
|
if item_above.type != 0
|
||||||
if index(s:number_kinds, 'a') == -1 ||
|
if index(s:number_kinds, 'a') == -1 ||
|
||||||
\ (item_above.mrkr[-1:] !=# divisor && number_chars =~# 'i\+') ||
|
\ (item_above.mrkr[-1:] !=# divisor && number_chars =~# 'i\+') ||
|
||||||
@ -236,7 +236,7 @@ function! s:guess_kind_of_numbered_item(item) "{{{
|
|||||||
return 'A'
|
return 'A'
|
||||||
else
|
else
|
||||||
|
|
||||||
let item_above = s:get_prev_list_item(a:item, 1)
|
let item_above = s:get_prev_list_item(a:item, 0)
|
||||||
if item_above.type != 0
|
if item_above.type != 0
|
||||||
if index(s:number_kinds, 'A') == -1 ||
|
if index(s:number_kinds, 'A') == -1 ||
|
||||||
\ (item_above.mrkr[-1:] !=# divisor && number_chars =~# 'I\+') ||
|
\ (item_above.mrkr[-1:] !=# divisor && number_chars =~# 'I\+') ||
|
||||||
|
Loading…
Reference in New Issue
Block a user