mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 19:38:20 +00:00
gen_vimdoc.py: fix deprecated check
This commit is contained in:
@@ -637,7 +637,7 @@ def extract_from_xml(filename, mode, fmt_vimhelp):
|
||||
if INCLUDE_C_DECL:
|
||||
fn['c_decl'] = c_decl
|
||||
|
||||
if 'Deprecated' in xrefs:
|
||||
if 'Deprecated' in str(xrefs):
|
||||
deprecated_functions[name] = fn
|
||||
elif name.startswith(CONFIG[mode]['func_name_prefix']):
|
||||
functions[name] = fn
|
||||
|
Reference in New Issue
Block a user