diff options
author | Matthieu Coudron <mattator@gmail.com> | 2020-06-07 18:00:43 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-07 18:00:43 +0200 |
commit | 980b12edbabc573f72d762dde844a771cc705e84 (patch) | |
tree | 7f85b4eb417f328163685b4326b300f3c98c9c94 /src/nvim/ops.c | |
parent | dbc8ec94464049311e69274cad562585d7bb6749 (diff) | |
parent | 22f6da9514eeebbb7f2344b1b0179b170b1fc9d8 (diff) | |
download | rneovim-980b12edbabc573f72d762dde844a771cc705e84.tar.gz rneovim-980b12edbabc573f72d762dde844a771cc705e84.tar.bz2 rneovim-980b12edbabc573f72d762dde844a771cc705e84.zip |
Merge pull request #12192 from Billy4195/vim-8.2.0629
[RFC] vim-patch:8.2.0629
Diffstat (limited to 'src/nvim/ops.c')
-rw-r--r-- | src/nvim/ops.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/nvim/ops.c b/src/nvim/ops.c index 755c1519fd..eb32a1dd9b 100644 --- a/src/nvim/ops.c +++ b/src/nvim/ops.c @@ -2740,8 +2740,8 @@ static void do_autocmd_textyankpost(oparg_T *oap, yankreg_T *reg) tv_dict_add_str(dict, S_LEN("regname"), buf); // Motion type: inclusive or exclusive. - tv_dict_add_special(dict, S_LEN("inclusive"), - oap->inclusive ? kSpecialVarTrue : kSpecialVarFalse); + tv_dict_add_bool(dict, S_LEN("inclusive"), + oap->inclusive ? kBoolVarTrue : kBoolVarFalse); // Kind of operation: yank, delete, change). buf[0] = (char)get_op_char(oap->op_type); @@ -2749,8 +2749,8 @@ static void do_autocmd_textyankpost(oparg_T *oap, yankreg_T *reg) tv_dict_add_str(dict, S_LEN("operator"), buf); // Selection type: visual or not. - tv_dict_add_special(dict, S_LEN("visual"), - oap->is_VIsual ? kSpecialVarTrue : kSpecialVarFalse); + tv_dict_add_bool(dict, S_LEN("visual"), + oap->is_VIsual ? kBoolVarTrue : kBoolVarFalse); tv_dict_set_keys_readonly(dict); textlock++; |