Skip to content

Commit

Permalink
update image.nvim
Browse files Browse the repository at this point in the history
  • Loading branch information
jmbuhr committed Aug 16, 2024
1 parent e343ccf commit 5522630
Showing 1 changed file with 10 additions and 12 deletions.
22 changes: 10 additions & 12 deletions lua/plugins/ui.lua
Original file line number Diff line number Diff line change
Expand Up @@ -349,20 +349,18 @@ return {
{ -- show images in nvim!
'3rd/image.nvim',
enabled = true,
dev = false,
-- fix to commit to keep using the rockspeck for image magick
-- TODO: check back on this later
commit = 'deb158d',
dev = false,
-- commit = 'deb158d',
ft = { 'markdown', 'quarto', 'vimwiki' },
-- dependencies = {
-- {
-- 'vhyrro/luarocks.nvim',
-- priority = 1001, -- this plugin needs to run before anything else
-- opts = {
-- rocks = { 'magick' },
-- },
-- },
-- },
cond = function()
-- Disable on Windows system
return vim.fn.has 'win32' ~= 1
end,
dependencies = {
'leafo/magick', -- that's a lua rock
},
config = function()
-- Requirements
-- https://github.com/3rd/image.nvim?tab=readme-ov-file#requirements
Expand All @@ -372,7 +370,7 @@ return {
-- sudo apt install libmagickwand-dev
-- sudo apt install liblua5.1-0-dev
-- sudo apt install lua5.1
-- sudo apt installl luajit
-- sudo apt install luajit

local image = require 'image'
image.setup {
Expand Down

0 comments on commit 5522630

Please sign in to comment.