aboutsummaryrefslogtreecommitdiff
path: root/scripts/gen_vimdoc.py
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2024-01-31 22:02:06 +0100
committerbfredl <bjorn.linse@gmail.com>2024-02-08 11:14:01 +0100
commitf9d81c43d2296d212c9cebcbdce401cd76cf0f1f (patch)
tree60166b94bddd63438c02b5619dfbc90f151884dd /scripts/gen_vimdoc.py
parent24d26b4cd1db3d312a6c6e9d025c0016159f99dc (diff)
downloadrneovim-f9d81c43d2296d212c9cebcbdce401cd76cf0f1f.tar.gz
rneovim-f9d81c43d2296d212c9cebcbdce401cd76cf0f1f.tar.bz2
rneovim-f9d81c43d2296d212c9cebcbdce401cd76cf0f1f.zip
refactor(api): use keydict and arena for more api return values
Implement api_keydict_to_dict as the complement to api_dict_to_keydict Fix a conversion error when nvim_get_win_config gets called from lua, where Float values "x" and "y" didn't get converted to lua numbers.
Diffstat (limited to 'scripts/gen_vimdoc.py')
-rwxr-xr-xscripts/gen_vimdoc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/gen_vimdoc.py b/scripts/gen_vimdoc.py
index 4cb90a4588..c1a2183f24 100755
--- a/scripts/gen_vimdoc.py
+++ b/scripts/gen_vimdoc.py
@@ -1688,7 +1688,7 @@ def filter_source(filename, keep_tmpfiles):
else:
"""Filters the source to fix macros that confuse Doxygen."""
with open(filename, 'rt') as fp:
- print(re.sub(r'^(ArrayOf|DictionaryOf)(\(.*?\))',
+ print(re.sub(r'^(ArrayOf|DictionaryOf|Dict)(\(.*?\))',
lambda m: m.group(1)+'_'.join(
re.split(r'[^\w]+', m.group(2))),
fp.read(), flags=re.M))