diff options
author | ZyX <kp-pav@yandex.ru> | 2017-12-10 03:39:51 +0300 |
---|---|---|
committer | ZyX <kp-pav@yandex.ru> | 2017-12-10 04:00:52 +0300 |
commit | 274f32d42e61e6f6c76b9ca499f5b79f256a481a (patch) | |
tree | 7fd0d14d76c17b92642133265cd6a9414b6948d8 /src/nvim/ops.c | |
parent | 49dd615693c9f6d86a180371abcd09d32ac8aeca (diff) | |
download | rneovim-274f32d42e61e6f6c76b9ca499f5b79f256a481a.tar.gz rneovim-274f32d42e61e6f6c76b9ca499f5b79f256a481a.tar.bz2 rneovim-274f32d42e61e6f6c76b9ca499f5b79f256a481a.zip |
*: Start hiding list implementation
Most of files, except for eval.c and eval/* were only processed by perl.
Diffstat (limited to 'src/nvim/ops.c')
-rw-r--r-- | src/nvim/ops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/ops.c b/src/nvim/ops.c index 432c9a8b47..9f445204d0 100644 --- a/src/nvim/ops.c +++ b/src/nvim/ops.c @@ -2568,7 +2568,7 @@ static void do_autocmd_textyankpost(oparg_T *oap, yankreg_T *reg) for (size_t i = 0; i < reg->y_size; i++) { tv_list_append_string(list, (const char *)reg->y_array[i], -1); } - list->lv_lock = VAR_FIXED; + tv_list_set_lock(list, VAR_FIXED); tv_dict_add_list(dict, S_LEN("regcontents"), list); // the register type |