Skip to content

fix(toggles): preserve treesitter syntax state - #80

Merged
mehalter merged 1 commit into
mainfrom
audit/2026-07-29-pass-2
Jul 29, 2026
Merged

fix(toggles): preserve treesitter syntax state#80
mehalter merged 1 commit into
mainfrom
audit/2026-07-29-pass-2

Conversation

@mehalter

Copy link
Copy Markdown
Member

Tree-sitter toggles

  • Route buffer syntax enablement and disablement through AstroCore's Tree-sitter helpers.
  • Keep AstroCore's per-buffer enabled state synchronized with the active parser state.
  • Record an explicit disabled state even if the parser disappears before the toggle runs.

Validation

  • Passed StyLua, Selene, typos, Lua compilation, and diff checks.
  • Passed the focused syntax-state regression on Neovim 0.11.0 and 0.12.4.

@mehalter
mehalter merged commit 207ed7a into main Jul 29, 2026
9 checks passed
@mehalter
mehalter deleted the audit/2026-07-29-pass-2 branch July 29, 2026 15:52
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