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

fix: preview inline error in non-buffer windows #981

Closed
wants to merge 1 commit into from

Conversation

tribhuwan-kumar
Copy link

Added a condition to check whether the bcache is nil or not in get_hunks of lua/gitsigns/actions.lua.
Fix #979

Copy link
Owner

@lewis6991 lewis6991 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This function expects a non-nil bcache. Either the type needs to change or we fix where it is being passed nil.

@tribhuwan-kumar
Copy link
Author

Okay, we can fix that "where it is being passed nil"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

error in executing :Gitsigns preview_hunk_inline
2 participants