Skip to content

fix(lsp): refresh client-dependent runtime state - #45

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

fix(lsp): refresh client-dependent runtime state#45
mehalter merged 2 commits into
mainfrom
audit/2026-07-29-pass-2

Conversation

@mehalter

Copy link
Copy Markdown
Member

Configured autocommands

  • Resolve a currently attached matching client when each callback runs instead of retaining the client that created the autocommand.
  • Scope client lookup to the callback buffer and preserve the autocommand through temporary client gaps.

Signature help

  • Rebuild trigger and retrigger unions when clients attach, detach, register capabilities, or unregister capabilities.
  • Include applicable dynamic registrations alongside static server capabilities.
  • Match Neovim 0.11 document selectors by language, URI scheme, and glob pattern while using the native registration lookup on Neovim 0.12.
  • Mark the exact Neovim 0.11 fallback for removal when support is dropped.

Validation

  • Passed StyLua, Selene, typos, Lua compilation, and diff checks.
  • Passed focused attach, detach, reattach, registration, selector, and cleanup regressions on Neovim 0.11.4 and 0.12.4.

@mehalter
mehalter merged commit 7548bf1 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