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

Image preview doesn't appear within Neovim #48

Open
andyc1234 opened this issue Dec 5, 2024 · 2 comments
Open

Image preview doesn't appear within Neovim #48

andyc1234 opened this issue Dec 5, 2024 · 2 comments

Comments

@andyc1234
Copy link

Hi, I am using Kitty terminal.

  • Outside Neovim (as in "from the terminal"), I have image preview with LF (see left side of the image)
  • But once inside Neovim, image preview doesn't appear (see right side of the image)

Screen Shot 2024-12-04 at 11 29 40 PM

Any idea on why it is not appearing? I am not sure if this is a Kitty, Neovim, LF, or Floaterm issue, but I figured I would ask here first. Thanks.

lf.vim: 80a2ef (latest commit)
vim-floaterm: 4e28c8 (latest commit)
Neovim: v0.10.2 (latest stable)
Kitty: 0.36.1
LF: r31
-- My lf.vim config
vim.g.lf_command_override = 'lf -config ~/.config/lf/lfrc'
vim.g.lf_map_keys = 0 -- Disable the default trigger <leader>f
vim.g.floaterm_width = 0.93
vim.g.floaterm_height = 0.95

vim.api.nvim_set_hl(0, 'Floaterm', {ctermbg = 'white'})
vim.api.nvim_set_hl(0, 'FloatermBorder', {ctermbg = 'white'})
# My LF config (just the relevant part)
# The 2 scripts are copy&paste from LF github wiki: https://github.com/gokcehan/lf/wiki/Previews#with-kitty-and-pistol
set previewer ~/.config/lf/previewer
set cleaner ~/.config/lf/cleaner
@ptzz
Copy link
Owner

ptzz commented Dec 5, 2024

No idea, sorry. Not using image preview in lf nor Kitty. Same issue with regular vim?

@andyc1234
Copy link
Author

andyc1234 commented Dec 5, 2024

Yes, same issue in regular vim (v9.1)

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

2 participants