Skip to content

Commit b44ea68

Browse files
authored
Merge pull request #508 from mhinz/silence-deletions
Silence :delete commands
2 parents e15598f + 9df0580 commit b44ea68

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

plug.vim

+3-3
Original file line numberDiff line numberDiff line change
@@ -1048,14 +1048,14 @@ function! s:update_finish()
10481048
if v:shell_error
10491049
call add(s:update.errors, name)
10501050
call s:regress_bar()
1051-
execute pos 'd _'
1051+
silent execute pos 'd _'
10521052
call append(4, msg) | 4
10531053
elseif !empty(out)
10541054
call setline(pos, msg)
10551055
endif
10561056
redraw
10571057
endfor
1058-
4 d _
1058+
silent 4 d _
10591059
call s:do(s:update.pull, s:update.force, filter(copy(s:update.all), 'index(s:update.errors, v:key) < 0 && has_key(v:val, "do")'))
10601060
call s:finish(s:update.pull)
10611061
call setline(1, 'Updated. Elapsed time: ' . split(reltimestr(reltime(s:update.start)))[0] . ' sec.')
@@ -1172,7 +1172,7 @@ function! s:log(bullet, name, lines)
11721172
if s:switch_in()
11731173
let pos = s:logpos(a:name)
11741174
if pos > 0
1175-
execute pos 'd _'
1175+
silent execute pos 'd _'
11761176
if pos > winheight('.')
11771177
let pos = 4
11781178
endif

0 commit comments

Comments
 (0)