Highlight a normal Name token with a different token type.


filter = NameHighlightFilter(
    names=['foo', 'bar', 'baz'],

This would highlight the names "foo", "bar" and "baz" as functions. `Name.Function` is the default token type.

Options accepted:

`names` : list of strings

A list of names that should be given the different token type.
There is no default.

`tokentype` : TokenType or string

A token type or a string containing a token type name that is
used for highlighting the strings in `names`.  The default is

NameHighlightFilter is referenced in 0 repositories