aboutsummaryrefslogtreecommitdiff
path: root/scripts/gen_vimdoc.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/gen_vimdoc.py')
-rwxr-xr-xscripts/gen_vimdoc.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/gen_vimdoc.py b/scripts/gen_vimdoc.py
index f37e4c9d37..2d2d46d1bd 100755
--- a/scripts/gen_vimdoc.py
+++ b/scripts/gen_vimdoc.py
@@ -89,11 +89,14 @@ CONFIG = {
# Section ordering.
'section_order': [
'vim.c',
+ 'vimscript.c',
'buffer.c',
+ 'extmark.c',
'window.c',
'win_config.c',
'tabpage.c',
'ui.c',
+ 'extmark.c',
],
# List of files/directories for doxygen to read, separated by blanks
'files': os.path.join(base_dir, 'src/nvim/api'),
@@ -163,6 +166,7 @@ CONFIG = {
'util.lua',
'log.lua',
'rpc.lua',
+ 'sync.lua',
'protocol.lua',
],
'files': ' '.join([
@@ -506,6 +510,11 @@ def render_node(n, text, prefix='', indent='', width=62):
text += indent + prefix + result
elif n.nodeName in ('para', 'heading'):
for c in n.childNodes:
+ if (is_inline(c)
+ and '' != get_text(c).strip()
+ and text
+ and ' ' != text[-1]):
+ text += ' '
text += render_node(c, text, indent=indent, width=width)
elif n.nodeName == 'itemizedlist':
for c in n.childNodes: