minor fix

This commit is contained in:
js0ny 2025-03-03 22:39:24 +00:00
parent 0af876301c
commit baa6b368c3
6 changed files with 41 additions and 16 deletions

View file

@ -0,0 +1,14 @@
-- 2025-03-03
-- If current session is not spawn by neovide, do not load image.nvim
-- neovide did not support image viewer yet
-- https://github.com/neovide/neovide/issues/2088
if vim.g.neovide then
return {}
elseif vim.env.TERM_PROGRAM == "alacritty" then
return {}
else
return {
"3rd/image.nvim",
opts = {}
}
end