aboutsummaryrefslogtreecommitdiff
path: root/scripts/gen_vimdoc.py
diff options
context:
space:
mode:
authorMaverun <maverun@protonmail.ch>2022-07-19 05:03:22 -0400
committerMaverun <maverun@protonmail.ch>2022-07-19 05:03:22 -0400
commit4e3699d13a13ab07cb344f43c3fdd474ca72535e (patch)
tree0f28b194cd7ce9226096738b0f207150c35c1bf2 /scripts/gen_vimdoc.py
parent1b462705d049fa0cf2bb99bae9112b84abea8d5a (diff)
downloadrneovim-4e3699d13a13ab07cb344f43c3fdd474ca72535e.tar.gz
rneovim-4e3699d13a13ab07cb344f43c3fdd474ca72535e.tar.bz2
rneovim-4e3699d13a13ab07cb344f43c3fdd474ca72535e.zip
fix(docs): remove internal function from docs (nvim__*)
Diffstat (limited to 'scripts/gen_vimdoc.py')
-rwxr-xr-xscripts/gen_vimdoc.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/gen_vimdoc.py b/scripts/gen_vimdoc.py
index 22fd155d32..74b35b4e9b 100755
--- a/scripts/gen_vimdoc.py
+++ b/scripts/gen_vimdoc.py
@@ -897,6 +897,8 @@ def fmt_doxygen_xml_as_vimhelp(filename, target):
doc = fmt_node_as_vimhelp(fn['desc_node'], fmt_vimhelp=True)
if not doc and fn['brief_desc_node']:
doc = fmt_node_as_vimhelp(fn['brief_desc_node'])
+ if not doc and name.startswith("nvim__"):
+ continue
if not doc:
doc = 'TODO: Documentation'