fix: odd situation of section separators with ayz/abz section configured
This commit is contained in:
parent
1c57497863
commit
f728edd31d
|
@ -71,6 +71,9 @@ local function apply_transitional_separators(status)
|
|||
copied_pos = str_checked
|
||||
elseif next_char == '%' then
|
||||
str_checked = str_checked + 2 -- Skip the following % too
|
||||
elseif next_char == '=' then
|
||||
last_hl = nil
|
||||
str_checked = str_checked + 1 -- Skip the following % too
|
||||
else
|
||||
str_checked = str_checked + 1 -- Push it forward to avoid inf loop
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue