From 98ab9da88c1b98c8f8f0ef038796b5927c94d769 Mon Sep 17 00:00:00 2001 From: rootiest Date: Sun, 9 Feb 2025 16:59:51 -0500 Subject: [PATCH] add snacks.image enables image support in snacks! May consider removing image.nvim now, will look into using snacks.image in markdown rendering. --- lua/plugins/snacks.lua | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/lua/plugins/snacks.lua b/lua/plugins/snacks.lua index 6c167fb..ca1c87b 100644 --- a/lua/plugins/snacks.lua +++ b/lua/plugins/snacks.lua @@ -188,6 +188,17 @@ local picker = { }, } +local image = { + { + 'folke/snacks.nvim', + opts = { + image = { + enabled = true, + }, + }, + }, +} + if require('data.func').check_global_var('statuscolumn', 'snacks', 'native') then @@ -205,4 +216,6 @@ table.insert(P, profiler) table.insert(P, picker) +table.insert(P, image) + return P