mirror of
https://github.com/junegunn/vim-plug.git
synced 2025-12-10 02:41:50 +08:00
Use blackhole register when deleting commit list
This commit is contained in:
2
plug.vim
2
plug.vim
@@ -1236,7 +1236,7 @@ function! s:revert()
|
|||||||
call system('git reset --hard HEAD@{1} && git checkout '.s:esc(g:plugs[name].branch))
|
call system('git reset --hard HEAD@{1} && git checkout '.s:esc(g:plugs[name].branch))
|
||||||
cd -
|
cd -
|
||||||
setlocal modifiable
|
setlocal modifiable
|
||||||
normal! dap
|
normal! "_dap
|
||||||
setlocal nomodifiable
|
setlocal nomodifiable
|
||||||
echo 'Reverted.'
|
echo 'Reverted.'
|
||||||
endfunction
|
endfunction
|
||||||
|
|||||||
Reference in New Issue
Block a user