greyblake/vim-preview — Issue #24: Does not work in new unsaved buffer
Author: charlax
Created: 2012-02-16 02:42:09+00:00
State: open

Hi,

vim-preview does not work in an unsaved buffer:

Error detected while processing function 23_Preview..preview#show:
line 4:
TypeError: (eval):115:in `basename': can't convert nil into String

It seems hammer had the same [issue](https://github.com/robgleeson/hammer.vim/issues/3).

Thanks!

Chx