aboutsummaryrefslogtreecommitdiffstats
path: root/queries/python
Commit message (Collapse)AuthorAgeFilesLines
...
* Add Python textobjectsStephan Seitz2020-07-141-0/+24
|
* Add textobjects moduleStephan Seitz2020-07-141-0/+3
|
* Python locals: with_statement can define variablesStephan Seitz2020-07-091-0/+4
|
* Python highlights: Surround type subscript query with (type ...)Stephan Seitz2020-07-091-2/+3
|
* Introduce @definition.import for Python/JavascriptStephan Seitz2020-07-081-0/+8
|
* Highlight complete type definitionStephan Seitz2020-07-081-0/+2
|
* Python locals/highlights: Parameters can be optionally typedStephan Seitz2020-07-082-14/+21
|
* 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-242-81/+66
|
* 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
* Update python locals: `list_splat` and `dictionary_splat` define variables ↵Stephan Seitz2020-06-021-0/+14
| | | | as parameters
* 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-172-0/+182
|
* Add python locals.scmStephan Seitz2020-05-161-0/+65