According to docs/selectors.html
Sublime supports these operators for selectors:
- () Grouping
- - Logical NOT
- & Logical AND
- | Logical OR
- , Logical OR
But I think one useful operator is missing: the “child operator” likewise in
CSS/Child_combinator
The reason why this operator is useful is almost the same as for HTML/CSS.
For example, when we want to match a comma inside a group ({a,b},c)
,
we can not simply write it as meta.group punctuation.separator
, because it also includes the
comma inside the bracket {a,b}
. If we have the “child operator”, we can simply use meta.group > punctuation.sepeartor
;
This is useful for theme/coloring and view.match_selector().