Closed rwols closed 3 years ago
in text form (set syntax to C++):
static bool report_failed_check( const char* const file, const int line, const char * const condition )
{
std::cout << "check failed! (file " << file << ", line " << line << "): " << condition << '\n';
++failed_checks;
return false;
}
That's strange, because I have that set as purple in the scheme file.
"variables": { "purple1": "hsl(286.3, 59.8%, 66.9%)" },
{
"name": "Keyword",
"scope": "keyword - (source.c keyword.operator | source.c++ keyword.operator | source.objc keyword.operator | source.objc++ keyword.operator), keyword.operator.word",
"foreground": "var(purple1)"
},
You're excluding source.c++ keyword.operator
for some reason :)
From the ST console:
>>> sublime.score_selector("source.c++ meta.function.c++ meta.block.c++ keyword.operator.arithmetic.c", "keyword - (source.c keyword.operator | source.c++ keyword.operator | source.objc keyword.operator | source.objc++ keyword.operator), keyword.operator.word")
0
I think you can safely replace that selector with just keyword.operator
:
>>> sublime.score_selector("source.c++ meta.function.c++ meta.block.c++ keyword.operator.arithmetic.c", "keyword.operator")
8192