aboutsummaryrefslogtreecommitdiff
path: root/lua/pml68/plugins.lua
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lua/pml68/plugins.lua30
1 files changed, 30 insertions, 0 deletions
diff --git a/lua/pml68/plugins.lua b/lua/pml68/plugins.lua
index 0a0430a..2e2a615 100644
--- a/lua/pml68/plugins.lua
+++ b/lua/pml68/plugins.lua
@@ -4,6 +4,36 @@ local plugins = {
"christoomey/vim-tmux-navigator",
lazy = false,
},
+ -- Image support
+ {
+ "vhyrro/luarocks.nvim",
+ priority = 1001,
+ opts = {
+ rocks = { "magick" },
+ },
+ },
+ {
+ "3rd/image.nvim",
+ dependencies = { "vhyrro/luarocks.nvim" },
+ ft = { "css", "scss", "html", "svelte", "markdown" },
+ config = function()
+ require("image").setup({
+ backend = "ueberzug",
+ integrations = {
+ neorg = {
+ enabled = false,
+ },
+ html = {
+ enabled = true,
+ },
+ css = {
+ enabled = true,
+ },
+ },
+ max_width_window_percentage = 90,
+ })
+ end
+ },
-- Oil.nvim
{
"stevearc/oil.nvim",