⚡️ perf(image): refactor image renderer lazy-loading
Only load the Image rendering plugin in appropriate filetypes (like markdown)
This commit is contained in:
@@ -99,6 +99,7 @@ return {
|
|||||||
},
|
},
|
||||||
{ -- Image Renderer
|
{ -- Image Renderer
|
||||||
"3rd/image.nvim",
|
"3rd/image.nvim",
|
||||||
|
ft = "markdown",
|
||||||
config = function()
|
config = function()
|
||||||
require("image").setup()
|
require("image").setup()
|
||||||
end,
|
end,
|
||||||
|
|||||||
Reference in New Issue
Block a user