Denis Perelyubskiy wrote:

Thanks. While I can't tell what went wrong by just eye-balling the
patches, I did find that the problem results from netrwPlugin.vim.
Basically, netrw registers this autocommand:

au BufEnter .* silent! call s:LocalBrowse(expand("<amatch>"))

When it is executed on a buffer switch, sometimes this <amatch> is emty.
I've no idea why.

If I remove the netrw plugin, things go back to normal. I did notice
that netrw plugin changed recently...
Can you give me an example?  Also, what o/s are you using?

The s:LocalBrowse() function checks if the name passed to it is a directory.
Except for the Amiga, an empty string should be getting ignored (isdirectory("")
is zero).

Regards,
Chip Campbell

Reply via email to