If you encounter the vim error messager E141: No file name for buffer and you’re not aware of the different buftype’s, you can learn more here.
But if you don’t care and just want this error to go away, SO to the rescue
:setlocal buftype=nofile
:setl bt=nofile