Update and clean config
This commit is contained in:
12
nvim/lua/plugins/image.lua
Normal file
12
nvim/lua/plugins/image.lua
Normal file
@@ -0,0 +1,12 @@
|
||||
return {
|
||||
"3rd/image.nvim",
|
||||
config = function()
|
||||
require("image").setup {
|
||||
backend = "ueberzug",
|
||||
}
|
||||
package.path = package.path .. ";" .. vim.fn.expand "$HOME" .. "/.luarocks/share/lua/5.1/?/init.lua"
|
||||
package.path = package.path .. ";" .. vim.fn.expand "$HOME" .. "/.luarocks/share/lua/5.1/?.lua"
|
||||
end,
|
||||
ft = { "markdown" },
|
||||
event = { "BufRead *.png", "BufRead *.jpg", "BufRead *.jpeg", "BufRead *.gif", "BufRead *.wepb", "BufRead *.avif" },
|
||||
}
|
||||
Reference in New Issue
Block a user