22 lines
545 B
Lua
22 lines
545 B
Lua
return {
|
|
"3rd/image.nvim",
|
|
build = false, -- nie wymaga kompilacji
|
|
opts = {
|
|
backend = "kitty", -- kitty / ueberzug / ueberzugpp
|
|
integrations = {
|
|
markdown = {
|
|
enabled = true,
|
|
clear_in_insert_mode = false,
|
|
download_remote_images = true,
|
|
only_render_image_at_cursor = false,
|
|
filetypes = { "markdown" },
|
|
},
|
|
},
|
|
max_width = 100,
|
|
max_height = 30,
|
|
max_width_window_percentage = math.huge,
|
|
max_height_window_percentage = math.huge,
|
|
kitty_method = "normal",
|
|
},
|
|
}
|