On 16/02/2023 03:53, Dmitry Gutov wrote: > But the new one will need to check that the parent is > 'scoped_identifier', and the grandparent is not a 'call_expression' > node, or 'use_as_clause', or 'use_declaration', etc, and the name itself > is lowercase -- when so, skip highlighting. And highlight with one of > the two faces when otherwise. > > Shouldn't be too hard to do, but I'm wary about the additional cost at > runtime. So, this seems to work. At the cost of some performance overhead due to :pred in the 'variable' query (the rest of the changes don't seem to affect the runtime -- guess the Lisp calls were balanced out by fewer queries).