From 7f50e6b76e9cdfa1c9f2a9f1cf394326404a12a8 Mon Sep 17 00:00:00 2001 From: rootiest Date: Sun, 4 Aug 2024 03:59:04 -0400 Subject: [PATCH] =?UTF-8?q?=E2=9A=A1=EF=B8=8F=20perf(image):=20refactor=20?= =?UTF-8?q?image=20renderer=20lazy-loading?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Only load the Image rendering plugin in appropriate filetypes (like markdown) --- lua/plugins/terminal.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/lua/plugins/terminal.lua b/lua/plugins/terminal.lua index c9d399b..23712e1 100644 --- a/lua/plugins/terminal.lua +++ b/lua/plugins/terminal.lua @@ -99,6 +99,7 @@ return { }, { -- Image Renderer "3rd/image.nvim", + ft = "markdown", config = function() require("image").setup() end,