Home
last modified time | relevance | path

Searched refs:sc_version (Results 1 – 14 of 14) sorted by relevance

/vim-8.2.3635/src/
H A Dvim9script.c30 return (current_sctx.sc_version == SCRIPT_VERSION_VIM9 in in_vim9script()
43 return (current_sctx.sc_version < max_version in in_old_script()
103 current_sctx.sc_version = SCRIPT_VERSION_VIM9; in ex_vim9script()
113 current_sctx.sc_version = SCRIPT_VERSION_VIM9; in ex_vim9script()
H A Dusercmd.c987 cmd->uc_script_ctx.sc_version = SCRIPT_VERSION_VIM9; in uc_add_command()
1773 current_sctx.sc_version = cmd->uc_script_ctx.sc_version; in do_ucmd()
H A Dscriptfile.c1282 current_sctx.sc_version = 1; // default script version in do_source()
1950 current_sctx.sc_version = nr; in ex_scriptversion()
H A Duserfunc.c1243 ufunc->uf_script_ctx_version = current_sctx.sc_version; in lambda_function_body()
4470 fp->uf_script_ctx_version = current_sctx.sc_version; in define_function()
4481 else if (fp->uf_script_ctx.sc_version == SCRIPT_VERSION_VIM9) in define_function()
4483 fp->uf_script_ctx.sc_version = SCRIPT_VERSION_MAX; in define_function()
H A Deval.c563 int save_sc_version = current_sctx.sc_version; in eval_to_string_safe()
566 current_sctx.sc_version = 1; in eval_to_string_safe()
578 current_sctx.sc_version = save_sc_version; in eval_to_string_safe()
H A Doptionstr.c426 script_ctx.sc_version = 1; in set_string_option_direct()
H A Dautocmd.c1285 ac->script_ctx.sc_version = SCRIPT_VERSION_VIM9; in do_autocmd_event()
H A Devalfunc.c3618 int save_version = current_sctx.sc_version; in f_exists()
3622 if (current_sctx.sc_version == SCRIPT_VERSION_VIM9) in f_exists()
3623 current_sctx.sc_version = SCRIPT_VERSION_MAX; in f_exists()
3625 current_sctx.sc_version = save_version; in f_exists()
H A Dmain.c3315 current_sctx.sc_version = 1; in process_env()
H A Dex_docmd.c8334 sst->save_script_version = current_sctx.sc_version; in save_current_state()
8335 current_sctx.sc_version = 1; // not in Vim9 script in save_current_state()
8359 current_sctx.sc_version = sst->save_script_version; in restore_current_state()
H A Dvim9compile.c3777 int save_sc_version = current_sctx.sc_version; in get_lambda_tv_and_compile()
3780 current_sctx.sc_version = SCRIPT_VERSION_VIM9; in get_lambda_tv_and_compile()
3782 current_sctx.sc_version = save_sc_version; in get_lambda_tv_and_compile()
9618 current_sctx.sc_version = SCRIPT_VERSION_VIM9; in compile_def_function()
H A Dstructs.h91 int sc_version; // :scriptversion member
H A Dbuffer.c5544 current_sctx.sc_version = 1; in chk_modeline()
H A Dvim9execute.c4893 current_sctx.sc_version = SCRIPT_VERSION_VIM9; in call_def_function()