diff options
author | Patrice Peterson <patrice.peterson@mailbox.org> | 2020-08-19 18:17:08 +0200 |
---|---|---|
committer | Patrice Peterson <patrice.peterson@mailbox.org> | 2020-08-23 13:48:25 +0200 |
commit | ac05343a1023874243ee9fdd490c21c42a737157 (patch) | |
tree | 2466eb3c28b09b8e77ba7e1d3696555672fbb38e /scripts/gen_vimdoc.py | |
parent | 8c49e3d50959e24dadd688f56a18f104bd5fd934 (diff) | |
download | rneovim-ac05343a1023874243ee9fdd490c21c42a737157.tar.gz rneovim-ac05343a1023874243ee9fdd490c21c42a737157.tar.bz2 rneovim-ac05343a1023874243ee9fdd490c21c42a737157.zip |
Add docs for most vim.lsp methods
Most of the lsp.log will be addressed in a separate PR.
Diffstat (limited to 'scripts/gen_vimdoc.py')
-rwxr-xr-x | scripts/gen_vimdoc.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/gen_vimdoc.py b/scripts/gen_vimdoc.py index a61690e99f..f2f003033e 100755 --- a/scripts/gen_vimdoc.py +++ b/scripts/gen_vimdoc.py @@ -960,7 +960,11 @@ def main(config): i = 0 for filename in CONFIG[target]['section_order']: - title, helptag, section_doc = sections.pop(filename) + try: + title, helptag, section_doc = sections.pop(filename) + except KeyError: + print("Warning:", filename, "has empty docs, skipping") + continue i += 1 if filename not in CONFIG[target]['append_only']: docs += sep |