- gen_vimdoc.py: fancy "bullet"
- rework `:help channel-callback`
- rename `:help buffered` to `:help channel-buffered`
This commit is contained in:
Justin M. Keyes
2019-05-25 10:00:41 +02:00
committed by GitHub
parent d51f132cb1
commit 4769deb36a
11 changed files with 148 additions and 166 deletions

View File

@@ -325,7 +325,7 @@ def render_node(n, text, prefix='', indent='', width=62):
text = doc_wrap(text, indent=indent, width=width)
elif n.nodeName == 'itemizedlist':
for c in n.childNodes:
text += '{}\n'.format(render_node(c, text, prefix='- ',
text += '{}\n'.format(render_node(c, text, prefix=' ',
indent=indent, width=width))
elif n.nodeName == 'orderedlist':
i = 1