diff options
| author | ache <ache@ache.one> | 2026-02-19 18:44:33 +0100 |
|---|---|---|
| committer | ache <ache@ache.one> | 2026-02-19 18:44:33 +0100 |
| commit | 362b4a83c33f5ff30d3dbc3d3d0b996286fae444 (patch) | |
| tree | e4e1581d47dc04cb4e0081ee4c4dd16e3d4708fa /lua/ache/plugins/image-nvim.lua | |
| parent | exp: Experiment with treesitter fold (diff) | |
fix: LUA formatting
Diffstat (limited to 'lua/ache/plugins/image-nvim.lua')
| -rw-r--r-- | lua/ache/plugins/image-nvim.lua | 25 |
1 files changed, 25 insertions, 0 deletions
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", "" }, + }, +} |