From 5f35501f68c242e9783d46013966d67f44b51e7d Mon Sep 17 00:00:00 2001 From: venus Date: Wed, 25 Mar 2026 11:28:59 -0500 Subject: [PATCH] image support with snacks --- init.lua | 1 - lua/plugins/mini.lua | 14 ++++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 31f236c..bb07acb 100644 --- a/init.lua +++ b/init.lua @@ -54,7 +54,6 @@ if theme_ok then matugen.setup() end - -- load lsp and bufferline plugins require("config.lsp") -- render bufferline diff --git a/lua/plugins/mini.lua b/lua/plugins/mini.lua index 46d5b82..da92ce8 100644 --- a/lua/plugins/mini.lua +++ b/lua/plugins/mini.lua @@ -1,4 +1,5 @@ return { -- Collection of various small independent plugins/modules + { 'echasnovski/mini.nvim', config = function() -- Better Around/Inside textobjects @@ -29,4 +30,17 @@ return { -- Collection of various small independent plugins/modules require('mini.clue').setup() end, + }, + { + 'folke/snacks.nvim', + config = function() + require("snacks").setup({ + image = { + enabled = true, + -- This ensures that when you open an image file, it renders + -- You can also toggle it manually with :SnacksImage + }, + }) + end, + } }