summaryrefslogtreecommitdiff
path: root/queries/python
AgeCommit message (Collapse)Author
2020-06-30add python asynckiyan42
2020-06-26Python highlights: Reset highlighting in f-string interpolationStephan Seitz
This solution is preferable to `(identifier) @Normal` since otherwise everything without highlight will use string-highlighting.
2020-06-26Python highlights: Add walrus operatorStephan Seitz
2020-06-24Adapt Python highlights to new query syntaxStephan Seitz
2020-06-21Add highlighting of dunder identifiers (e.g. __all__, __add__) to Python ↵Stephan Seitz
highlights
2020-06-21Updated python highlightsJakub Łuczyński
* 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-02Update python locals: `list_splat` and `dictionary_splat` define variables ↵Stephan Seitz
as parameters
2020-05-28Improve Python highlightsStephan Seitz
- 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-17Introduce `@include`Stephan Seitz
2020-05-17Add python/highlights.scm from tree-sitter-pythonStephan Seitz
2020-05-16Add python locals.scmStephan Seitz