greyblake / vim-preview

Vim plugin for previewing markup files(markdown,rdoc,textile,html)
GNU General Public License v2.0
209 stars 29 forks source link

Adds name to the generated file so that preview works with QuickLook #11

Closed lukaszkorecki closed 13 years ago

lukaszkorecki commented 13 years ago

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.

greyblake commented 13 years ago

Hi! Thanks for your job!

lukaszkorecki commented 13 years ago

My pleasure :-)