Skip to content
Myr

s:common_sink(): Avoid duplicate BufEnter. (#803)

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

Later versions of Vim/Nvim handle `:edit <dir>` inside try-catch. https://github.com/vim/vim/commit/e13b9afe1283f5ae43232b5992372a0eb570666c https://github.com/vim/vim/pull/1375

authored by Justin M. Keyes · committed by Junegunn Choi · parent fd137a9 · Browse files · 1 file+2 added−1 removed
This commit

State

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

Trailers

  • https: //github.com/vim/vim/commit/e13b9afe1283f5ae43232b5992372a0eb570666c
  • https: //github.com/vim/vim/pull/1375

Diff stats

1 file+2 added−1 removed

  • other:+2 added−1 removed

1 file+2 added−1 removed

modified:plugin/fzf.vim+2 added-1 removed
153 unmodified lines
154 let empty = 0155 else156 call s:open(cmd, item)157 endif158 if exists('#BufEnter') && isdirectory(item)158 if !has('patch-8.0.0177') && !has('nvim-0.2') && exists('#BufEnter')159 \ && isdirectory(item)160 doautocmd BufEnter161 endif162 endfor163 finally
481 unmodified lines