add 2-chars offset to the listing tags

This commit is contained in:
yggverse 2026-03-18 02:01:05 +02:00
parent fe467e8316
commit 1ba5749623

View file

@ -71,7 +71,7 @@ pub fn render(buffer: &TextBuffer) {
buffer.insert_with_tags( buffer.insert_with_tags(
&mut start_iter, &mut start_iter,
&format!("{}", " ".repeat(item.level)), &format!(" {}", " ".repeat(item.level)),
&[], &[],
); );
if let Some(state) = item.state { if let Some(state) = item.state {