[Buffers] Avoid cleaning up g:fzf#vim#buffers when the plugin is reloaded

Close #643
This commit is contained in:
Junegunn Choi
2018-06-22 12:30:31 +09:00
parent 1b01a5069b
commit 033033daa3

View File

@@ -112,7 +112,10 @@ if (has('nvim') || has('terminal') && has('patch-8.0.995')) && (get(g:, 'fzf_sta
augroup END
endif
let g:fzf#vim#buffers = {}
if !exists('g:fzf#vim#buffers')
let g:fzf#vim#buffers = {}
endif
augroup fzf_buffers
autocmd!
if exists('*reltimefloat')