On ST3 / 3105
In SpaceCadet.tmTheme, line 78:
keyword - keyword.operator, keyword.operator.logical
Should that be:
keyword, keyword.operator, keyword.operator.logical
On ST3 / 3105
In SpaceCadet.tmTheme, line 78:
keyword - keyword.operator, keyword.operator.logical
Should that be:
keyword, keyword.operator, keyword.operator.logical
Scope selectors can have negative selectors, which are indicated by the hyphen you are referring to here. By itself this is definitely not a bug, but depending on other scope selectors in the file it may result in “odd” highlighting. I don’t have the file handy atm to take a look though.
Ok, thanks.
I’m creating a syntax definition. I had an operator get matched by keyword.operator and another scope. On SpaceCadet, that would fall-through to the other scope. I’ll fix it by making sure the operator only gets matched to keyword.operator.