aboutsummaryrefslogtreecommitdiff
path: root/scripts/gen_vimdoc.py
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2020-01-12 23:41:55 -0800
committerGitHub <noreply@github.com>2020-01-12 23:41:55 -0800
commit92316849863bb2661ee5b4bb284f56163fed27ad (patch)
tree92b6f7d210c3dcca462b4ba48923dd65f61416ed /scripts/gen_vimdoc.py
parentdfb676fe0d64c708c0c334b09c947db1bae4736d (diff)
downloadrneovim-92316849863bb2661ee5b4bb284f56163fed27ad.tar.gz
rneovim-92316849863bb2661ee5b4bb284f56163fed27ad.tar.bz2
rneovim-92316849863bb2661ee5b4bb284f56163fed27ad.zip
doc [ci skip] #11656
Diffstat (limited to 'scripts/gen_vimdoc.py')
-rwxr-xr-xscripts/gen_vimdoc.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/scripts/gen_vimdoc.py b/scripts/gen_vimdoc.py
index bdfe52addb..3c51b2aa81 100755
--- a/scripts/gen_vimdoc.py
+++ b/scripts/gen_vimdoc.py
@@ -167,10 +167,7 @@ CONFIG = {
# HACK. TODO(justinmk): class/structure support in lua2dox
if 'lsp.client' == f'{fstem}.{name}'
else f'*vim.lsp.{fstem}.{name}()*')),
- 'module_override': {
- # Combine are exposed on the `vim` module.
- 'shared': 'vim',
- },
+ 'module_override': {},
'append_only': [],
},
}
@@ -821,7 +818,7 @@ def main(config):
stdin=subprocess.PIPE,
# silence warnings
# runtime/lua/vim/lsp.lua:209: warning: argument 'foo' not found
- stderr=subprocess.DEVNULL)
+ stderr=(subprocess.STDOUT if DEBUG else subprocess.DEVNULL))
p.communicate(
config.format(
input=CONFIG[target]['files'],