Skip to content

Trouble with the magick rock #18

Description

@benlubas

I'm on MacOS on apple silicon (unsure if that's relevant)

I've installed the magick rock with luarocks --local --lua-version 5.1 install magick

I added

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;"

to my nvim/init.lua file, and I've checked that the magick folder exists at ~/.luarocks/share/lua/5.1/magick

However, I don't have anything other than the magick/ folder in the ~/.luarocks/share/lua/5.1/ directory. This concerns me b/c it seems from the package.path code above that there should be a lua file there (but I have no idea).

I have ImageMagic via brew, the which magick => /opt/homebrew/bin/magick

Despite all of this, I still get this error when I launch nvim:

Error detected while processing /Users/benlubas/github/.dotfiles/nvim/init.lua:
image.nvim: magick rock not found, please install it and restart your editor

I've also tried with both nvim 9.2, and the latest nightly. same error.
I've also tried the minimial-setup.lua file in this repo.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions