new config using vim.pack

This commit is contained in:
Dario48 2026-03-31 21:49:56 +02:00
commit 17fda33a90
52 changed files with 629 additions and 659 deletions

22
lua/plugins/images.lua Normal file
View file

@ -0,0 +1,22 @@
---@module "utils.plugins"
---@type Plugin
return {
configures = "images",
configure = function(load)
load("3rd/image.nvim")
require("image").setup({
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
},
},
})
end,
}