nvim-telescope / telescope-media-files.nvim

Telescope extension to preview media files using Ueberzug.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to view pdfs

vanya-robertson opened this issue · comments

I am displayed chafa: Failed to open '/tmp/vimg/pdf-name.pdf.png': No such file or directory when hovering over a pdf.
I have pdftoppm installed from poppler the standard repos.
/tmp/vimg/pdf-name.pdf.png.png exists, and is the correct file, but the name has an extra .png.

Is anybody else getting this issue?

Here is my telescope setup function:

      require("telescope").setup {
        extensions = {
          media_files = {
            filetypes = { "png", "jpg", "mp4", "mkv", "webm", "webp", "pdf", "epub" },
            find_cmd = "rg",
          },

solution already proposed