AdeAttwood / ivy.nvim

An ivy-mode port to neovim.
33 stars 4 forks source link

Does not work with macOS #57

Closed AdeAttwood closed 1 year ago

AdeAttwood commented 1 year ago

Description

Unable to load libivyrs.so on macOS. This is because mac does not use .so files they use .dylib. When you compile ivy on Mac, you get the output target/release/libivyrs.dylib. When we load the lib via FFI, we need to check for both files.

Expected Behaviour

Opening vim does not cause errors and you can use ivy.

Actual Behaviour

When you open vim you get the message

libivyrs.so not found! Please ensure you have complied ......

Steps to Reproduce the Problem

1) Clone and compile ivy on macOS 2) Open vim