Files
dotfiles-archive/pre-student/config/nvim/lua/plugins/image.lua
T
2026-08-17 13:53:05 +01:00

21 lines
667 B
Lua

return {
'3rd/image.nvim',
config = function()
require("image").setup({
backend = "sixel",
processor = "magick_cli",
integrations = {
markdown = {
enabled = true,
only_render_image_at_cursor = true,
only_render_image_at_cursor_mode = "popup", -- or "inline"
floating_windows = true, -- if true, images will be rendered in floating markdown windows
},
},
window_overlap_clear_ft_ignore = { "cmp_menu", "cmp_docs" },
editor_only_render_when_focused = true, -- auto show/hide images when the editor gains/looses focus
})
end,
build = false,
}