diff options
author | shadmansaleh <shadmansaleh3@gmail.com> | 2021-06-18 15:03:12 +0600 |
---|---|---|
committer | shadmansaleh <shadmansaleh3@gmail.com> | 2021-07-01 15:01:01 +0600 |
commit | 21444552c06240b68fd1ad2c3be4e83f64a10882 (patch) | |
tree | 2ea1457b5579bdd90be4664f0aa5d54e3024c342 /scripts/vim-patch.sh | |
parent | f35a5f2efc32b508ff5fc7d55b31a5bb7facfa17 (diff) | |
download | rneovim-21444552c06240b68fd1ad2c3be4e83f64a10882.tar.gz rneovim-21444552c06240b68fd1ad2c3be4e83f64a10882.tar.bz2 rneovim-21444552c06240b68fd1ad2c3be4e83f64a10882.zip |
BugFix(clipboard): Fix block paste not working properly
Block copy and paste from system-clipboard currently breaks formatting.
This fixes it.
The bug occurs because system-clipboard doesn't contain information
about what mode the copy was made.
Simple solution to this is we keep a cache of copy we last made along
with mode information. If system-clipboard returns the cache we apply
the mode information that we know about that cache.
Diffstat (limited to 'scripts/vim-patch.sh')
0 files changed, 0 insertions, 0 deletions