neovim-dotfiles/lua/plugins/image.lua
2026-03-07 13:29:57 +01:00

17 lines
493 B
Lua

return {
"3rd/image.nvim",
opts = {
integrations = {
markdown = {
enabled = true,
clear_in_insert_mode = false,
download_remote_images = true,
only_render_image_at_cursor = false,
only_render_image_at_cursor_mode = "popup", -- or "inline"
floating_windows = true, -- if true, images will be rendered in floating markdown windows
filetypes = { "markdown", "vimwiki", "latex" }, -- markdown extensions (ie. quarto) can go here
},
},
},
config = true,
}