Skip to content
Browse files

Merge pull request #30 from folke/master

MBE now ignores buffers with empty name
  • Loading branch information...
2 parents 08d7287 + f9c890b commit 4cfc2994ceac9050b5fcbed99a536046b2544f1d @fholgado fholgado committed Feb 26, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 plugin/minibufexpl.vim
View
2 plugin/minibufexpl.vim
@@ -1610,7 +1610,7 @@ function! <SID>AutoUpdate(delBufNum,currBufName)
" Don't bother autoupdating the MBE window, and skip the FuzzyFinder window
" (Thanks toupeira!)
- if (bufname('%') == '-MiniBufExplorer-' || bufname('%') == '[fuf]')
+ if (bufname('%') == '-MiniBufExplorer-' || bufname('%') == '[fuf]' || bufname('%') == '')
" If this is the only buffer left then toggle the buffer
if (winbufnr(2) == -1)
call <SID>CycleBuffer(1)

0 comments on commit 4cfc299

Please sign in to comment.
Something went wrong with that request. Please try again.