diff plugin/lawrencium.vim @ 111:01edb7c58e0c

Don't touch vim registers holding deletions. (Fix commit c02360b5f... where typing 'p' after :Hgvdiff would paste a blank line and not what the user had previously deleted.)
author Shane Harper <shane@shaneharper.net>
date Thu, 04 Dec 2014 11:09:19 +1100
parents e66df94ebceb
children b051b81cc365
line wrap: on
line diff
--- a/plugin/lawrencium.vim	Tue Sep 16 22:53:48 2014 +0200
+++ b/plugin/lawrencium.vim	Thu Dec 04 11:09:19 2014 +1100
@@ -388,7 +388,7 @@
             " must open them all first otherwise we could delete the whole
             " contents of the last fold (since Vim may close them all by
             " default).
-            normal! zRGdd
+            normal! zRG"_dd
         endif
     endfunction