Closed liketoeatcheese closed 3 months ago
Yes, it's just "ueberzug"
Sweet! That stoped the error. But I can't seem to view the image. I tried to view images in yazi which confirms that it seems to work in the terminal. Is there any way to debug this?
Sweet! That stoped the error. But I can't seem to view the image. I tried to view images in yazi which confirms that it seems to work in the terminal. Is there any way to debug this?
Are you sure yazi is using ueberzug?
🖼️ Built-in Support for Multiple Image Protocols: Also integrated with Überzug++ and Chafa, covering almost all terminals.
https://github.com/sxyazi/yazi/pull/1066
Based on my understanding, yes.
I also managed to run ueberzugpp in standalone mode with:
ueberzugpp layer --use-escape-codes
Enter
to go into ueberzugpp, then paste this in:
{"action": "add", "identifier": "preview", "x": 0, "y": 0, "max_width": 1920, "max_height": 1080, "path": "/home/wpham/wisdom/FrontEnd/CSS/Resources/fillmode_default.png"}
Which is the same path I used for the image above:
Then it's probably using ueberzugpp with the Kitty Graphics Protocol output, asking because using the "kitty" backend directly should work with wezterm, even if it's slower on wez than on Kitty, it should be faster that doing the round trip through ueberzugpp. Are you running it in tmux?
Yea I tried with kitty backend as well but it didn't work.
I also tried with and without tmux for both backend but none worked.
ueberzugpp layer --use-escape-codes
did work without tmux but not with. So I thought image.nvim would work outside of tmux but no luck
Oh wait, I got this when I ran without tmux with ueberzugpp backend:
Error executing luv callback:
...al/share/nvim/lazy/image.nvim/lua/image/utils/logger.lua:54: 17:47:54.08
5269 [image.nvim] image: ueberzug died unexpectedly {
code = 0,
signal = 6
}
stack traceback:
[C]: in function 'handler'
...al/share/nvim/lazy/image.nvim/lua/image/utils/logger.lua:54: in
function 'throw'
...are/nvim/lazy/image.nvim/lua/image/backends/ueberzug.lua:18: in
function <...are/nvim/lazy/image.nvim/lua/image/backends/ueberzug.lua:15>
[C]: in function 'match_line'
...m/lazy/vim-illuminate/lua/illuminate/providers/regex.lua:41: in
function 'get_references'
...share/nvim/lazy/vim-illuminate/lua/illuminate/engine.lua:142: in
function <...share/nvim/lazy/vim-illuminate/lua/illuminate/engine.lua:120>
[C]: in function 'pcall'
...share/nvim/lazy/vim-illuminate/lua/illuminate/engine.lua:120: in
function ''
vim/_editor.lua: in function <vim/_editor.lua:0>
Press ENTER or type command to continu
Any thoughts?
No idea, you can try logging the command output or executing the same command it does outside of Neovim :shrug:
All good :) I will close this
Hi, thanks for your great work on this plugin.
I'm having trouble setting this up on nixos in WSL and wezterm. I got the image to work on the terminal. And wants to set it up in neovim. Here's my attempt:
Here's my config. This works for my home station with kitty, but can't seems to get it to work with ueberzugpp:
Any thoughts?