Describe the bug
The updated releases contain an un-updated Cargo.lock file. This means when you do the sh install.sh or cargo build -r the Cargo.lock file is modified, which prevents future git pull's from succeeding with an error like:
Your local changes to the following files would be overwritten by checkout:
Cargo.lock
To Reproduce
Steps to reproduce the behavior:
Install sniprun using your favorite package manager (ex: Lazy.nvim)
Wait for the next update to be released
Package manager will fail to update since git pull fails
Expected behavior
The Cargo.lock file should be up to date, so cargo build -r does not modify it
Screenshots
If applicable, add screenshots to help explain your problem.
Environment:
Neovim version v0.9.2
MacOS Sonoma
Additional context
The sniprun folder after installing the latest 1.3.7 update and doing the install:
Describe the bug The updated releases contain an un-updated
Cargo.lock
file. This means when you do thesh install.sh
orcargo build -r
theCargo.lock
file is modified, which prevents futuregit pull
's from succeeding with an error like:To Reproduce Steps to reproduce the behavior:
git pull
failsExpected behavior The
Cargo.lock
file should be up to date, socargo build -r
does not modify itScreenshots If applicable, add screenshots to help explain your problem.
Environment:
Additional context The sniprun folder after installing the latest 1.3.7 update and doing the install: