aboutsummaryrefslogtreecommitdiffstats
path: root/queries/python/highlights.scm
Commit message (Collapse)AuthorAgeFilesLines
...
* Python locals/highlights: Parameters can be optionally typedStephan Seitz2020-07-081-0/+4
|
* add python asynckiyan422020-06-301-0/+1
|
* Python highlights: Reset highlighting in f-string interpolationStephan Seitz2020-06-261-2/+3
| | | | | This solution is preferable to `(identifier) @Normal` since otherwise everything without highlight will use string-highlighting.
* Python highlights: Add walrus operatorStephan Seitz2020-06-261-0/+1
|
* Adapt Python highlights to new query syntaxStephan Seitz2020-06-241-75/+64
|
* Add highlighting of dunder identifiers (e.g. __all__, __add__) to Python ↵Stephan Seitz2020-06-211-0/+3
| | | | highlights
* Updated python highlightsJakub Łuczyński2020-06-211-45/+31
| | | | | | | | | * 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
* Improve Python highlightsStephan Seitz2020-05-281-0/+33
| | | | | | | | | | - 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
* Introduce `@include`Stephan Seitz2020-05-171-3/+3
|
* Add python/highlights.scm from tree-sitter-pythonStephan Seitz2020-05-171-0/+176