Skip to content
Myr

[vim] Set &bufhidden=hide before starting terminal buffer

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

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

  • other:+3 added−0 removed

1 file+3 added−0 removed

modified:plugin/fzf.vim+3 added
744 unmodified lines
745 let command .= s:term_marker746 if has('nvim')747 call termopen(command, fzf)748 else749 if !len(&bufhidden)750 setlocal bufhidden=hide751 endif752 let fzf.buf = term_start([&shell, &shellcmdflag, command], {'curwin': 1, 'exit_cb': function(fzf.on_exit)})753 if !has('patch-8.0.1261') && !has('nvim') && !s:is_win754 call term_wait(fzf.buf, 20)755 endif
151 unmodified lines