summaryrefslogtreecommitdiff
path: root/queries/python
AgeCommit message (Collapse)Author
2020-08-14Python highlights: Highlight ->, ...Stephan Seitz
2020-08-04Python: update textobjects queriesSantos Gallegos
2020-07-22Fix #198: prefer method highlighting over attributeStephan Seitz
2020-07-22Python highlights: add lambda parametersStephan Seitz
2020-07-20Python highlights: highlight functions with self as methods (#198)Stephan Seitz
Also highlight __init__/__new__ as constructor
2020-07-15Python textobjects: Include @decorators and improve @conditional.innerStephan Seitz
2020-07-14Add Python textobjectsStephan Seitz
2020-07-14Add textobjects moduleStephan Seitz
2020-07-09Python locals: with_statement can define variablesStephan Seitz
2020-07-09Python highlights: Surround type subscript query with (type ...)Stephan Seitz
2020-07-08Introduce @definition.import for Python/JavascriptStephan Seitz
2020-07-08Highlight complete type definitionStephan Seitz
2020-07-08Python locals/highlights: Parameters can be optionally typedStephan Seitz
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