Skip to content
Myr

[vim] Delete fzf buffer even when exit status is non-zero

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Fix #183

authored by Junegunn Choi · committed by Junegunn Choi · parent 42e4992 · Browse files · 1 file+4 added−4 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+4 added−4 removed

  • other:+4 added−4 removed

1 file+4 added−4 removed

modified:plugin/fzf.vim+4 added-4 removed
450 unmodified lines
451 execute 'tabnext' self.ppos.tab452 execute self.ppos.win.'wincmd w'453 endif454455 if !s:exit_handler(a:code, self.command, 1)456 return457 endif458455 if bufexists(self.buf)456 execute 'bd!' self.buf457 endif458459 if !s:exit_handler(a:code, self.command, 1)460 return461 endif462463 call s:pushd(self.dict)464 let lines = s:collect(self.temps)465 call s:callback(self.dict, lines)466 call self.switch_back(s:getpos() == self.ppos)
90 unmodified lines