Mercurial > vim
diff 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 |
line wrap: on
line diff
--- a/src/proto/evalvars.pro +++ b/src/proto/evalvars.pro @@ -46,6 +46,7 @@ void set_vim_var_string(int idx, char_u void set_vim_var_list(int idx, list_T *val); void set_vim_var_dict(int idx, dict_T *val); void set_argv_var(char **argv, int argc); +void reset_reg_var(void); void set_reg_var(int c); char_u *v_exception(char_u *oldval); char_u *v_throwpoint(char_u *oldval);