nvim-telescope / telescope-media-files.nvim

Telescope extension to preview media files using Ueberzug.
MIT License
445 stars 46 forks source link

Option `cwd` not handled well and pdfs in subdirs not rendered #8

Closed tbung closed 2 years ago

tbung commented 3 years ago

Currently, when the option cwd is set, the items shown are correctly listed from that directory, however the rendering script is not told about this and still tries to find files relative to the working directory of vim.

Also, when pdf files (and I assume video files) are in subdirectories, the conversion to png does not work because pdftoppm is given the base name instead of the path to the file relative to the current directory.

I have fixed both issues locally and would be happy to submit a pr if you are interested.

elianiva commented 3 years ago

PR is more than welcome :)

siduck commented 2 years ago

@elianiva https://github.com/nvim-telescope/telescope-media-files.nvim/pull/12