Explorar o código

Use blackhole register when deleting commit list

Junegunn Choi %!s(int64=11) %!d(string=hai) anos
pai
achega
3f82808bea
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      plug.vim

+ 1 - 1
plug.vim

@@ -1236,7 +1236,7 @@ function! s:revert()
   call system('git reset --hard HEAD@{1} && git checkout '.s:esc(g:plugs[name].branch))
   cd -
   setlocal modifiable
-  normal! dap
+  normal! "_dap
   setlocal nomodifiable
   echo 'Reverted.'
 endfunction