bug: Initial installation attempt to concatenate local 'old_dir'
#1550
Labels
bug
Something isn't working
attempt to concatenate local 'old_dir'
#1550
Did you check docs and existing issues?
Neovim version (nvim -v)
NVIM v0.10.0 (github release)
Operating system/version
Arch Linux
Describe the bug
When doing an initial installation with a plugin that configures itself in Lazy a bit as well as being checked out in
dev
mode it runs into an issue only on the first installation. The message appears that Lazy thinks that the plugin has been added to the runtime path without a directory so when it checks if the plugin's directory has changed it appears to.Steps To Reproduce
mkdir ~/projects
, Make a~/projects
folder because we will be using it for dev modegit clone https://github.com/mehalter/lazy_test ~/projects/lazy_test
, clone the example pluginrm -rf .repro
, Make sure to clean the.repro
state because this only happens on a fresh installationnvim -u repro.lua
, run therepro.lua
configuration and get the errorExpected Behavior
The error shouldn't happen. The directory of the plugin's location shouldn't be changing given the specs.
I get this behavior in this extremely minimal example as well as with AstroNvim when using it in development mode. I honestly cannot replicate this with LazyVim in development mode and I'm honestly not sure why that is.
Repro
The text was updated successfully, but these errors were encountered: