Commit graph

3 commits

Author SHA1 Message Date
Stephan Seitz
807d6e11fa Improve Python highlights
- Highlight types in attributes as @type (**Foo**.a)
- Highlight superclasses @type
- Highlight ^[A-Z] as @type
- Highlight isinstance(*, type) as @type
- Highlight default_parameter and keyword_argument as @parameter
- Highlight *args, **kwargs as @parameter
- Highlight -> as @operator
2020-05-28 10:42:45 +02:00
Stephan Seitz
f6bf56974e Introduce @include 2020-05-17 21:56:44 +02:00
Stephan Seitz
57424533a7 Add python/highlights.scm from tree-sitter-python 2020-05-17 21:56:44 +02:00