From 362b4a83c33f5ff30d3dbc3d3d0b996286fae444 Mon Sep 17 00:00:00 2001 From: ache Date: Thu, 19 Feb 2026 18:44:33 +0100 Subject: fix: LUA formatting --- lua/ache/plugins/image-nvim.lua | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 lua/ache/plugins/image-nvim.lua (limited to 'lua/ache/plugins/image-nvim.lua') diff --git a/lua/ache/plugins/image-nvim.lua b/lua/ache/plugins/image-nvim.lua new file mode 100644 index 0000000..5648672 --- /dev/null +++ b/lua/ache/plugins/image-nvim.lua @@ -0,0 +1,25 @@ +--[[ +--This plugin prints images inside Neovim. +--]] + +return { + -- See the image.nvim `README` for more information about configuring this plugin + "3rd/image.nvim", + enabled = true, + version = "1.1.0", + opts = { + backend = "kitty", -- Whatever backend you would like to use + integrations = { + markdown = { + enabled = false, + only_render_image_at_cursor = true, + }, + }, + max_width = 100, + max_height = 12, + max_height_window_percentage = math.huge, + max_width_window_percentage = math.huge, + window_overlap_clear_enabled = true, -- Toggles images when windows are overlapped + window_overlap_clear_ft_ignore = { "cmp_menu", "cmp_docs", "" }, + }, +} -- cgit v1.3-2-g11bf