jesseduffield / lazygit

simple terminal UI for git commands
MIT License
48.05k stars 1.73k forks source link

Different colors between lazygit and nvim plugin for lazygit #3644

Open carried-away opened 3 weeks ago

carried-away commented 3 weeks ago

Describe the bug When calling nvim as the editor in lazygit, the text is bright and unreadable. This does not happen with the lazygit plugin for nvim, only when using lazygit standalone.

To Reproduce Steps to reproduce the behavior:

  1. When committing in lazy git standalone, open NVIM editor by pressing C

Expected behavior Regular terminal colors

Screenshots

LazyGit Standalone

image

LazyGit Nvim plugin

image

Version info: commit=5e388e21c8ca6aa883dbcbe45c47f6fdd5116815, build date=2023-08-07T14:05:48Z, build source=binaryRelease, version=0.40.2, os=windows, arch=amd64, git version=2.43.0.windows.1

git version 2.43.0.windows.1

Additional context Add any other context about the problem here.

Note: please try updating to the latest version or manually building the latest master to see if the issue still occurs.

carried-away commented 3 weeks ago

I just tried to debug with lazygit --debug, strangely enough when using the --debug flag, the normal colors appear

image