It does not appear that injections are working if the scope selection was applied through a forward match.
Its an END rule that forward scopes, (])(?=(\.(?!\.)|::))|(?>[^\s\p{L},]) on [math]::hello it consumes the ](capture 1) and scopes the ::(capture 2). An injection rule to actually consume the :: in a begin rule that is then supposed to catch the hello (but optionally with whitespace or comments between, and then repeat with other accessors) is then applied to the scope of the ::.
A debug indicates that the injection is never scanned, so the scope is not being seen in getInjections. The debug does indicate the forward scoping is working (also confirmed with Inspect TM Scopes in VS Code).
It does not appear that injections are working if the scope selection was applied through a forward match.
Its an END rule that forward scopes,
(])(?=(\.(?!\.)|::))|(?>[^\s\p{L},])on[math]::helloit consumes the](capture 1) and scopes the::(capture 2). An injection rule to actually consume the::in a begin rule that is then supposed to catch thehello(but optionally with whitespace or comments between, and then repeat with other accessors) is then applied to the scope of the::.A debug indicates that the injection is never scanned, so the scope is not being seen in
getInjections. The debug does indicate the forward scoping is working (also confirmed with Inspect TM Scopes in VS Code).