Plugin does not recognize key value form of `every`
anderseknert opened this issue · 2 comments
It seems like the plugin doesn't know about the key-value version of every, as it complains about the ,
.
allow {
every key, val in input {
key == val
}
}
As of release 0.12.0, it seems to have trouble with the every
syntax in general. The syntax highlighting/analysis fails to parse past the every
statement and leaves the remainder of the file incorrectly highlighted.
Same here. The problem does not seem to be the every
keyword itself though, but a multiline block within it. After a single line block, everything is still fine, see line 7-11 and the proper highlighting in line 13.
Same thing happens with some
by the way, even though some
is actually registered as a keyword.
opa-idea-plugin/src/main/grammar/Rego.bnf
Line 37 in f67f7a8