Skip to content
Myr

[vim] Make sure to delete fzf buffer

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

Close junegunn/fzf.vim#173 and #630

authored by Junegunn Choi · committed by Junegunn Choi · parent a606617 · Browse files · 1 file+4 added−0 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−0 removed

  • other:+4 added−0 removed

1 file+4 added−0 removed

modified:plugin/fzf.vim+4 added
454 unmodified lines
455 if !s:exit_handler(a:code, self.command, 1)456 return457 endif458459 if bufexists(self.buf)460 execute 'bd!' self.buf461 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