Mercurial > vim
comparison src/proto/evalvars.pro @ 20721:70d561931721 v8.2.0913
patch 8.2.0913: code for resetting v:register is duplicated
Commit: https://github.com/vim/vim/commit/439c036ed062de1c87cc7e3fe050a9569fb12089
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jun 6 15:58:03 2020 +0200
patch 8.2.0913: code for resetting v:register is duplicated
Problem: Code for resetting v:register is duplicated.
Solution: Add reset_reg_var().
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 06 Jun 2020 16:00:04 +0200 |
parents | 8fa783f2c69c |
children | f4455c71a8aa |
comparison
equal
deleted
inserted
replaced
20720:9160c85995fc | 20721:70d561931721 |
---|---|
44 void restore_vimvars(vimvars_save_T *vvsave); | 44 void restore_vimvars(vimvars_save_T *vvsave); |
45 void set_vim_var_string(int idx, char_u *val, int len); | 45 void set_vim_var_string(int idx, char_u *val, int len); |
46 void set_vim_var_list(int idx, list_T *val); | 46 void set_vim_var_list(int idx, list_T *val); |
47 void set_vim_var_dict(int idx, dict_T *val); | 47 void set_vim_var_dict(int idx, dict_T *val); |
48 void set_argv_var(char **argv, int argc); | 48 void set_argv_var(char **argv, int argc); |
49 void reset_reg_var(void); | |
49 void set_reg_var(int c); | 50 void set_reg_var(int c); |
50 char_u *v_exception(char_u *oldval); | 51 char_u *v_exception(char_u *oldval); |
51 char_u *v_throwpoint(char_u *oldval); | 52 char_u *v_throwpoint(char_u *oldval); |
52 char_u *set_cmdarg(exarg_T *eap, char_u *oldarg); | 53 char_u *set_cmdarg(exarg_T *eap, char_u *oldarg); |
53 int get_var_tv(char_u *name, int len, typval_T *rettv, dictitem_T **dip, int verbose, int no_autoload); | 54 int get_var_tv(char_u *name, int len, typval_T *rettv, dictitem_T **dip, int verbose, int no_autoload); |