Commit 5522630 1 parent e343ccf commit 5522630 Copy full SHA for 5522630
File tree 1 file changed +10
-12
lines changed
1 file changed +10
-12
lines changed Original file line number Diff line number Diff line change @@ -349,20 +349,18 @@ return {
349
349
{ -- show images in nvim!
350
350
' 3rd/image.nvim' ,
351
351
enabled = true ,
352
+ dev = false ,
352
353
-- fix to commit to keep using the rockspeck for image magick
353
354
-- TODO: check back on this later
354
- commit = ' deb158d' ,
355
- dev = false ,
355
+ -- commit = 'deb158d',
356
356
ft = { ' markdown' , ' quarto' , ' vimwiki' },
357
- -- dependencies = {
358
- -- {
359
- -- 'vhyrro/luarocks.nvim',
360
- -- priority = 1001, -- this plugin needs to run before anything else
361
- -- opts = {
362
- -- rocks = { 'magick' },
363
- -- },
364
- -- },
365
- -- },
357
+ cond = function ()
358
+ -- Disable on Windows system
359
+ return vim .fn .has ' win32' ~= 1
360
+ end ,
361
+ dependencies = {
362
+ ' leafo/magick' , -- that's a lua rock
363
+ },
366
364
config = function ()
367
365
-- Requirements
368
366
-- https://github.com/3rd/image.nvim?tab=readme-ov-file#requirements
@@ -372,7 +370,7 @@ return {
372
370
-- sudo apt install libmagickwand-dev
373
371
-- sudo apt install liblua5.1-0-dev
374
372
-- sudo apt install lua5.1
375
- -- sudo apt installl luajit
373
+ -- sudo apt install luajit
376
374
377
375
local image = require ' image'
378
376
image .setup {
You can’t perform that action at this time.
0 commit comments