• Francis Herne's avatar
    Rainbow-color lambda parameters and comprehension variables. · 8f7a9399
    Francis Herne authored
    The base-class method disables rainbow coloring for declarations in
     DUContext::Other contexts unless they have an identifier.
    In kdev-python, the only Other contexts without identifiers are lambdas
     and comprehensions, and it makes sense to highlight variables defined
     in either of those.
pythonhighlighting.cpp 3.12 KB