Skip to content

dont symlink rocks when used in "dev" mode #706

Description

@teto

I was trying to debug an issue with https://github.com/neo451/feed.nvim (it creates folders in current directory instead of in stdconfig("data")).

I enabled dev mode with https://github.com/lumen-oss/rocks-dev.nvim:

[plugins."feed.nvim"]
# version = "2.19.2"
dev = true
dir = "/home/teto/neovim/feed.nvim"

and witnessed incoherent behavior (I would remove a file/function yet neovim could still load it).
Turns out neovim would load the code from /home/teto/.local/share/nvim/rocks/rocks_rtp/feed.nvim, done by

return create_symlink_sync(site_link_dir, rock.name, rock_version_dir)

I am not sure what a proper fix is, can we skip symlinking it if the plugin is in dev mode for instance ?

Not sure if it's the same as #497

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions