summaryrefslogtreecommitdiff
path: root/lua/ache/plugins/image-nvim.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/ache/plugins/image-nvim.lua')
-rw-r--r--lua/ache/plugins/image-nvim.lua25
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", "" },
+ },
+}