Skip to content

fix: race in should_attach#660

Merged
AntoineGS merged 1 commit intozbirenbaum:masterfrom
powerman:fix-README-race
Mar 4, 2026
Merged

fix: race in should_attach#660
AntoineGS merged 1 commit intozbirenbaum:masterfrom
powerman:fix-README-race

Conversation

@powerman
Copy link
Contributor

@powerman powerman commented Mar 4, 2026

The should_attach is executed using vim.schedule (in on_buf_enter), so it must use provided buf_id to make sure it checks given buffer instead of current one.

@AntoineGS
Copy link
Collaborator

good one, thanks!

@AntoineGS AntoineGS merged commit 89c8ada into zbirenbaum:master Mar 4, 2026
11 checks passed
@powerman powerman deleted the fix-README-race branch March 5, 2026 07:15
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