Skip to content

Conversation

dezull
Copy link

@dezull dezull commented Apr 26, 2017

The original issue: #46

This should fix the old issue from fholgado/minibufexpl.vim#119, I don't think it has been resolved yet.

The problem is, at various places this check is performed:

    if bufname('%') != '-MiniBufExplorer-'

to validate the window is indeed MBE's window. Initially that is fine as the bufname matches '-MiniBufExplorer-' exactly.

But after a directory change, it changes to something like:

    /<some-paths...>/.vim_runtime/-MiniBufExplorer-

So this PR performs a better check for MBE's own window.

Copy link

@jasonleakey jasonleakey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice, it works! Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants