Skip to content
Snippets Groups Projects
Commit 1896aa17 authored by Justin M. Keyes's avatar Justin M. Keyes Committed by Junegunn Choi
Browse files

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

parent fd137a9e
No related branches found
No related tags found
No related merge requests found
......@@ -155,7 +155,8 @@ function! s:common_sink(action, lines) abort
else
call s:open(cmd, item)
endif
if exists('#BufEnter') && isdirectory(item)
if !has('patch-8.0.0177') && !has('nvim-0.2') && exists('#BufEnter')
\ && isdirectory(item)
doautocmd BufEnter
endif
endfor
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment