camspiers/snap

Opening files do not delete empty buffers when opening nvim without a file

booperlv opened this issue · 2 comments

Hello! Small nitpick, when I open new files through nvim-tree, :e and the likes, the "[No Name]" buffer does get deleted when it is empty/is not edited. In Snap's case however, it just ignores it and opens the next file.

Steps to reproduce:

$ nvim
** open a file using snap **
:ls!
   1 #h "[No Name]"
   2 %a "**file path**"

"Right" behavior:

$ nvim
:e *file*
:ls!
   1 %a "**file path**"

@booperlv related to issue #75

Oh man, didn't see it! I'll close this for now, Thanks :)