mirror of
https://github.com/neovim/neovim.git
synced 2025-12-01 14:33:11 +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
|
||||
|
||||
@@ -457,6 +457,7 @@ Object nvim_eval(String expr, Error *err)
|
||||
}
|
||||
|
||||
/// @deprecated Use nvim_exec_lua() instead.
|
||||
/// @see nvim_exec_lua
|
||||
Object nvim_execute_lua(String code, Array args, Error *err)
|
||||
FUNC_API_SINCE(3)
|
||||
FUNC_API_DEPRECATED_SINCE(7)
|
||||
|
||||
Reference in New Issue
Block a user