-
-
Notifications
You must be signed in to change notification settings - Fork 193
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CRLF #835
Comments
I've tried to implement this correctly by tracking the input and working crlf settings in git, but obviously this doesn't work fully across the full myriad of windows setups. Unfortunately I don't use windows or have access to it, so I rely on contributions to support this. |
The testsuite has an exact test for the minimal repro provided here, so that clearly isn't enough to produce the issue: |
This has been labeled stale since a request for information has not been answered for 30 days. |
For me this was happening when I had a file with I changed my .editorconfig |
Description
I'm working on a project that is mostly developed by Windows users while I'm on WSL2. When opening any file with Windows line endings (\r\n) every line is reported as being changed, so that gitsigns is not useful anymore working on these buffers.
Neovim version
0.9.1
Operating system and version
Windows11 with WSL2
Expected behavior
If there is no difference except line endings gitsgings should ignore it.
Here is an example of Vscode
Actual behavior
Minimal config
Steps to reproduce
nvim --clean -u minimal.lua
Gitsigns debug messages
No response
The text was updated successfully, but these errors were encountered: