Stephan Seitz
|
fe79de76ea
|
Python highlights: Surround type subscript query with (type ...)
|
2020-07-09 09:36:05 +02:00 |
|
Stephan Seitz
|
0e80b89935
|
Highlight complete type definition
|
2020-07-08 17:47:44 +02:00 |
|
Stephan Seitz
|
dc324e44ad
|
Python locals/highlights: Parameters can be optionally typed
|
2020-07-08 17:47:44 +02:00 |
|
kiyan42
|
180ad9a1a8
|
add python async
|
2020-06-30 08:15:51 +02:00 |
|
Stephan Seitz
|
75bce1dc93
|
Python highlights: Reset highlighting in f-string interpolation
This solution is preferable to `(identifier) @Normal` since otherwise
everything without highlight will use string-highlighting.
|
2020-06-26 13:52:59 +02:00 |
|
Stephan Seitz
|
88c8b70560
|
Python highlights: Add walrus operator
|
2020-06-26 13:52:59 +02:00 |
|
Stephan Seitz
|
dfead6caca
|
Adapt Python highlights to new query syntax
|
2020-06-24 10:07:22 +02:00 |
|
Stephan Seitz
|
a85cf1a47c
|
Add highlighting of dunder identifiers (e.g. __all__, __add__) to Python highlights
|
2020-06-21 17:00:17 +02:00 |
|
Jakub Łuczyński
|
0b4d4b4140
|
Updated python highlights
* allow for digits in constant names
* removed redundant/conflicting rules
* added missing hlmap
* fixed escape_sequence
* more explicit @constructor assignment
* added rules for function decoration identifiers
|
2020-06-21 00:11:58 +02:00 |
|
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 |
|