mirror of
https://github.com/neovim/neovim.git
synced 2025-12-01 06:23:01 +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:
|
if INCLUDE_C_DECL:
|
||||||
fn['c_decl'] = c_decl
|
fn['c_decl'] = c_decl
|
||||||
|
|
||||||
if 'Deprecated' in xrefs:
|
if 'Deprecated' in str(xrefs):
|
||||||
deprecated_functions[name] = fn
|
deprecated_functions[name] = fn
|
||||||
elif name.startswith(CONFIG[mode]['func_name_prefix']):
|
elif name.startswith(CONFIG[mode]['func_name_prefix']):
|
||||||
functions[name] = fn
|
functions[name] = fn
|
||||||
|
|||||||
@@ -457,6 +457,7 @@ Object nvim_eval(String expr, Error *err)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// @deprecated Use nvim_exec_lua() instead.
|
/// @deprecated Use nvim_exec_lua() instead.
|
||||||
|
/// @see nvim_exec_lua
|
||||||
Object nvim_execute_lua(String code, Array args, Error *err)
|
Object nvim_execute_lua(String code, Array args, Error *err)
|
||||||
FUNC_API_SINCE(3)
|
FUNC_API_SINCE(3)
|
||||||
FUNC_API_DEPRECATED_SINCE(7)
|
FUNC_API_DEPRECATED_SINCE(7)
|
||||||
|
|||||||
Reference in New Issue
Block a user