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

feat(blame_line): add option to show when not focused #1111

Merged
merged 2 commits into from
Sep 4, 2024

Conversation

Rizhiy
Copy link
Contributor

@Rizhiy Rizhiy commented Aug 12, 2024

As title.
Motivation for this is twofold:

  • I have two monitors and still want to see the blame when doing something on another monitor
  • When in tmux current behaviour causes "activity" event when leaving window, which means all tmux windows with neovim are always active, which is not ideal.

I'm not sure about tests, since they seem to be flaky. I've run them a few times and sometimes they succeed and sometimes they fail, although failures are not consistent.

@lewis6991
Copy link
Owner

I don't think there needs to be an option for this. Can just add FocusGained and FocusLost to the events.

@Rizhiy
Copy link
Contributor Author

Rizhiy commented Sep 4, 2024

@lewis6991 What do you mean? I'm removing events, not adding.

@lewis6991
Copy link
Owner

Ah sorry, I misread.

@lewis6991 lewis6991 merged commit 1ef74b5 into lewis6991:main Sep 4, 2024
6 checks passed
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.

2 participants