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(integration): improved avoidance of Test Explorer (xcodebuild.nvim) #221

Merged
merged 1 commit into from
Mar 17, 2024
Merged

fix(integration): improved avoidance of Test Explorer (xcodebuild.nvim) #221

merged 1 commit into from
Mar 17, 2024

Conversation

wojciech-kulik
Copy link
Contributor

Hi, a small improvement, now the Test Explorer can be already shown when Neovim starts, so we need to handle this case.

@wojciech-kulik
Copy link
Contributor Author

@j-hui could you please take a look at this PR?

@j-hui
Copy link
Owner

j-hui commented Mar 17, 2024

Hey sorry @wojciech-kulik , I was traveling and didn't get a chance until now.

Copy link
Owner

@j-hui j-hui left a comment

Choose a reason for hiding this comment

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

This looks good to me, in that I don't think it breaks anything AFAICT as a non-user of xcodebuild.nvim.

But I'm also not entirely sure what it's doing: it's calling resize() on xcodebuild.nvim's buf number, just once, on initialization? Is this because xcodebuild.nvim may already have constructed its text explorer window by the time Fidget initializes?

@wojciech-kulik
Copy link
Contributor Author

Yes, exactly. The window could be already there if you didn't close it leaving Neovim and you use autosession.

@j-hui j-hui merged commit 910104a into j-hui:main Mar 17, 2024
5 checks passed
@j-hui
Copy link
Owner

j-hui commented Mar 17, 2024

Got it, thanks for catching that!

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