aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ops.c
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2014-11-07 17:31:42 +0100
committerBjörn Linse <bjorn.linse@gmail.com>2014-12-08 22:05:05 +0100
commit6ddbe6d9be885c5d1b7c54b104f0322911bd9fef (patch)
tree8058c7ddda464742e33883bfdef9b9f324d995ad /src/nvim/ops.c
parentd9639d3a9b512d2ef73018074fcf380d37f722a1 (diff)
downloadrneovim-6ddbe6d9be885c5d1b7c54b104f0322911bd9fef.tar.gz
rneovim-6ddbe6d9be885c5d1b7c54b104f0322911bd9fef.tar.bz2
rneovim-6ddbe6d9be885c5d1b7c54b104f0322911bd9fef.zip
clipboard: fix `let @+ = ...` and add test
Diffstat (limited to 'src/nvim/ops.c')
-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 */