camspiers / snap

A fast finder system for neovim.
The Unlicense
483 stars 16 forks source link

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

Closed booperlv closed 3 years ago

booperlv commented 3 years ago

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**"
bangedorrunt commented 3 years ago

@booperlv related to issue #75

booperlv commented 3 years ago

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