pub fn execute_with_env(
registry: &CommandRegistry,
document: &mut Document,
buffer_id: BufferId,
cursor: Position,
invocation: CommandInvocation,
cancel: &CancellationToken,
env: GrammarEnv<'_>,
) -> GrammarResult<Effect>Expand description
N.1.4a / N.1.6 (2026-06-10): execute plus the per-dispatch
GrammarEnv — the tree-sitter
scope_resolver (af/ac) and the comment_syntax (aC/iC).
The host builds the env (N.1.4b / N.1.6) and threads it down to the
TextObjectContext; the classic objects (iw, ap, i{) ignore it.