add hologram plugin
~/.config/nvim/lua/plugins/hologram.lua
return {
{
"vhyrro/hologram.nvim",
config = function()
require("hologram").setup({
auto_display = true,
})
end,
},
}
now you need to install ImageMagick
ImageMagick
,ImageMagick-devel
(needed to install both, you will get error saying failed to load magickwand if you forget ImageMagick-devel )
you might need to setup luarocks too ~/.config/nvim/lua/plugins/luarocks.lua
return {
{
"theHamsta/nvim_rocks",
event = "VeryLazy",
build = "pip3 install --user hererocks && python3 -mhererocks . -j2.1.0-beta3 -r3.0.0 && cp nvim_rocks.lua lua",
config = function()
-- Add here the packages you want to make sure that they are installed
local nvim_rocks = require("nvim_rocks") -- and these 2 lines for image magick support
nvim_rocks.ensure_installed({ "magick" })
end,
},
}