fzy-lua-native icon indicating copy to clipboard operation
fzy-lua-native copied to clipboard

Local changes to binaries break updating step of lazy.nvim

Open yochem opened this issue 4 months ago • 0 comments

Lazy.nvim or other version-control based package managers break after installing this plugin and building the static files with make:

    ● fzy-lua-native 0.25ms  care.nvim
        You have local changes in `/Users/yochem/.local/share/nvim/lazy/fzy-lua-native`:
          * static/libfzy-darwin-x86_64.so
        Please remove them to update.
        You can also press `x` to remove the plugin and then `I` to install it again.
        static/libfzy-darwin-x86_64.so
        You have local changes in `/Users/yochem/.local/share/nvim/lazy/fzy-lua-native`:
          * static/libfzy-darwin-x86_64.so
        Please remove them to update.
        You can also press `x` to remove the plugin and then `I` to install it again.

I followed the recommended installation steps for care.nvim:

{
    "max397574/care.nvim",
    dependencies = {
        {
            "romgrk/fzy-lua-native",
            build = "make" -- optional, uses faster native version
        }
    },
    config = function()
        -- Set up mappings here
    end
}

But running make during installation creates new static binaries, and Lazy.nvim does not want to overwrite them.

yochem avatar Oct 14 '24 09:10 yochem