In the “Define your language…” settings, tab “Operators & Delimiters” there’s a field called “Operators2 (separators required)“.
Firstly, I don’t know what “separators required” means in that term.
Secondly, whatever I typed in there, it had no effect on the syntax highlighting.
And thirdly, could you please take a look here?
That question is sort of important to my current work and it hasn’t been answered yet.
Operators2 matches words (the mentioned separators being whitespace delimiters), Operators1 is a sub-string match.
OR was in Operators1:
X = APPLES OR OR ANGES
Which is wrong in the case of
ORANGES, Operators2 allows you to:
X = APPLES OR ORANGES
Answered By – Alex K.
Answer Checked By – David Marino (AngularFixing Volunteer)