aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/nvim/ops.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/ops.c b/src/nvim/ops.c
index 1513eb2cbc..c20a017088 100644
--- a/src/nvim/ops.c
+++ b/src/nvim/ops.c
@@ -4825,6 +4825,7 @@ void write_reg_contents_ex(int name,
if (!y_append && !must_append)
free_yank_all();
str_to_reg(y_current, yank_type, str, len, block_len);
+ set_clipboard(name);
/* ':let @" = "val"' should change the meaning of the "" register */