Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

blank image #32

Open
kianfakheriaghdam opened this issue Dec 12, 2022 · 5 comments
Open

blank image #32

kianfakheriaghdam opened this issue Dec 12, 2022 · 5 comments

Comments

@kianfakheriaghdam
Copy link

kianfakheriaghdam commented Dec 12, 2022

I tried the example from README and the image pops up, but it's blank and empty.

Also after a while, it displayed the following.

Error executing vim.schedule lua callback: vim/shared.lua:0: invalid type name: 
nil
stack traceback:
        [C]: in function 'error'
        vim/shared.lua: in function 'validate'
        vim/shared.lua: in function 'tbl_extend'
        ...e/pack/packer/start/hologram.nvim/lua/hologram/image.lua:59: in funct
ion 'display'
        ...te/pack/packer/start/hologram.nvim/lua/hologram/init.lua:56: in funct
ion 'buf_render_images'
        ...te/pack/packer/start/hologram.nvim/lua/hologram/init.lua:17: in funct
ion <...te/pack/packer/start/hologram.nvim/lua/hologram/init.lua:17>
@mroavi
Copy link

mroavi commented Dec 12, 2022

I had a similar issue while trying to run the README example. I fixed it by using an absolute path to the image instead of a relative one. Could this be your case too?

@kianfakheriaghdam
Copy link
Author

Didn't work either.

@mroavi
Copy link

mroavi commented Dec 13, 2022

Are you using the Kitty terminal? This package only works with Kitty.

@kianfakheriaghdam
Copy link
Author

kianfakheriaghdam commented Dec 13, 2022

No, but I'm installing it now. Aren't you supposed to download the tarball file & extract it? The application in bin is not executable.

@leephillips
Copy link

I have the same problem. I am using the Kitty terminal, and I can display images in the shell. In an nvim buffer, hologram just gives me a blank space.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants