diff --git a/plug.vim b/plug.vim index 2c2ec6c..708b1a7 100644 --- a/plug.vim +++ b/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