Skip to content

fix(tracker): flush active file before switching - #5

Merged
taigrr merged 2 commits into
masterfrom
cd/fix-file-switch-flush
Jun 21, 2026
Merged

taigrr merged 2 commits into
masterfrom
cd/fix-file-switch-flush

Conversation

@taigrr

@taigrr taigrr commented Jun 11, 2026

Copy link
Copy Markdown
Owner

Summary

  • flush the current file immediately before switching buffers
  • avoid scheduling the flush after current_file has already changed
  • keep the guard so the first tracked file in a session does not try to flush

Validation

  • luacheck .
  • stylua --check .

@taigrr
taigrr merged commit 2c83d82 into master Jun 21, 2026
3 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.

1 participant