We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c15090d commit 438079cCopy full SHA for 438079c
1 file changed
mode/soy/soy.js
@@ -256,7 +256,7 @@
256
state.scopes = prepend(state.scopes, state.variables);
257
state.soyState.push("var-def");
258
}
259
- if (state.tag.match(/^@param\??/)) {
+ if (state.tag.match(/^@(?:param\??|inject)/)) {
260
state.soyState.push("param-def");
261
262
return "keyword";
0 commit comments