Skip to content

Conversation

@darrenchang
Copy link

  • git_diff does not cache git_sign_count into diff_cache when rmagatti/auto-session plugin is used to launch nvim session with multiple open windows.
  • This commit makes sure to not use diff_cache value, but instead, uses the custom source to get git sign counts when M.src (custome source for git_diff) is defined.

Before the fix - notice that git_diff information doesn't show on the inactive buffer windows upon nvim launch, until they get focuses

before.mov

With the fix - notice that git_diff information is shown for all buffer windows upoin nvim launch

fixed.mov

- git_diff does not cache git_sign_count into diff_cache
when rmagatti/auto-session plugin is used to launch nvim
session with multiple open windows.
- This commit makes sure to not use diff_cache value, but
instead, uses the custom source to get git sign counts
when M.src (custome source for git_diff) is defined.
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.

1 participant