It's a simple change which makes vim-preview work with QuickLook in OSX.
By default the temporary file doesn't always have a file name because it's based on the name of current buffer. It's fine for web browsers to open paths like /path/to/a/90485309/.html however QuickLook (qlmanage -p) can't cope with that.
Hi
It's a simple change which makes vim-preview work with QuickLook in OSX.
By default the temporary file doesn't always have a file name because it's based on the name of current buffer. It's fine for web browsers to open paths like
/path/to/a/90485309/.html
however QuickLook (qlmanage -p
) can't cope with that.This commit fixes that issue.