Skip to content

Simplify refresh state handling for SessionBuffer requests#2787

Merged
jwortmann merged 2 commits intosublimelsp:mainfrom
jwortmann:refactor-refresh
Mar 1, 2026
Merged

Simplify refresh state handling for SessionBuffer requests#2787
jwortmann merged 2 commits intosublimelsp:mainfrom
jwortmann:refactor-refresh

Conversation

@jwortmann
Copy link
Copy Markdown
Member

This combines the individual boolean variables which hold the "refresh" state for different request types (set after workspace/.../refresh for buffers that are not visible) into a single pending_refreshes bitflag, and also combines the different set_..._pending_refresh method into a single one.

@jwortmann jwortmann merged commit cdce162 into sublimelsp:main Mar 1, 2026
8 checks passed
@jwortmann jwortmann deleted the refactor-refresh branch March 1, 2026 21:36
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