aboutsummaryrefslogtreecommitdiff
path: root/nvim/lua/plugins/image.lua
diff options
context:
space:
mode:
Diffstat (limited to 'nvim/lua/plugins/image.lua')
-rw-r--r--nvim/lua/plugins/image.lua11
1 files changed, 11 insertions, 0 deletions
diff --git a/nvim/lua/plugins/image.lua b/nvim/lua/plugins/image.lua
new file mode 100644
index 0000000..b1dc285
--- /dev/null
+++ b/nvim/lua/plugins/image.lua
@@ -0,0 +1,11 @@
+return {
+ "3rd/image.nvim",
+ build = false, -- so that it doesn't build the rock https://github.com/3rd/image.nvim/issues/91#issuecomment-2453430239
+ ft = "norg",
+ opts = {
+ backend = "sixel",
+ processor = "magick_cli",
+ only_render_image_at_cursor = true,
+ only_render_image_at_cursor_mode = "popup",
+ }
+}