Skip to content
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

:Gitsigns diffthis generates an error about awrap being nil. #857

Closed
rawlingsr opened this issue Aug 18, 2023 · 0 comments
Closed

:Gitsigns diffthis generates an error about awrap being nil. #857

rawlingsr opened this issue Aug 18, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@rawlingsr
Copy link
Contributor

Description

I think I can see why this error is generated. awrap is not the key that's needed from async.

5a2b120

Neovim version

NVIM v0.10.0-dev-869+g1d6c4ad07

Operating system and version

Windows 11

Expected behavior

Diff of working copy of current file, and the index is shown.

Actual behavior

No diff after the error shows up, and trying again results in an error indicating that an error was encountered on a previous loop.

Minimal config

Obviated

Steps to reproduce

  1. Update to the latest version of Gitsigns.
  2. :Gitsigns diffthis
  3. Observe Error
  4. Change awrap to wrap on line 12 of lua/gitsigns/diffthis.lua
  5. restart neovim, or source the file
  6. diffthis works now.

Gitsigns debug messages

No response

@rawlingsr rawlingsr added the bug Something isn't working label Aug 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant