aboutsummaryrefslogtreecommitdiffstats
path: root/lua/plugins/image.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/plugins/image.lua')
-rw-r--r--lua/plugins/image.lua22
1 files changed, 17 insertions, 5 deletions
diff --git a/lua/plugins/image.lua b/lua/plugins/image.lua
index c8e231f..edd938f 100644
--- a/lua/plugins/image.lua
+++ b/lua/plugins/image.lua
@@ -1,12 +1,24 @@
+
return {
- "samodostal/image.nvim",
- dependencies = {
- "m00qek/baleia.nvim",
- },
+ "3rd/image.nvim",
opts = {
+ backend = "sixel",
+ max_width = nil,
+ max_height = nil,
+ max_width_window_percentage = nil,
+ max_height_window_percentage = nil,
+ window_overlap_clear_enabled = true,
+ window_overlap_clear_ft_ignore = { "cmp_menu", "cmp_docs", "notify", "noice", "lazy", "mason", "oil_list", "TelescopePrompt" },
+ editor_only_render_when_focused = true,
+ tmux_show_only_in_active_window = true,
render = {
+ debounce_ms = 10,
+ show_label = true,
+ label_align = "center",
+ label_format = "[image.nvim] %s",
foreground_color = true,
background_color = true,
- }
+ },
+ integrations = {},
},
}