From a4e12d2b09565171c9b58e7400b4dad29f926c44 Mon Sep 17 00:00:00 2001 From: Joost Agterhoek Date: Mon, 7 Jul 2025 12:20:38 +0200 Subject: [PATCH] added image as already functioning on macos --- lua/plugins/image.lua | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 lua/plugins/image.lua diff --git a/lua/plugins/image.lua b/lua/plugins/image.lua new file mode 100644 index 0000000..9790255 --- /dev/null +++ b/lua/plugins/image.lua @@ -0,0 +1,22 @@ +return { + "3rd/image.nvim", + build = false, + opts = { + rocessor = "magick_cli", + }, + config = function() + require("image").setup({ + integrations = { + markdown = { + enabled = true, + only_render_image_at_cursor = true, + only_render_image_at_cursor_mode = true, + floating_windows = true, + }, + html = { + enabled = true, + }, + }, + }) + end, +}