aboutsummaryrefslogtreecommitdiffstats
path: root/queries/python
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove usages of `@embedded` in highlightsStephan Seitz2021-01-061-1/+1
|
* Python highlights: Add regex injections: re.match(r"...")Stephan Seitz2021-01-031-0/+6
|
* Python (folds): allow to fold stringsSantos Gallegos2021-01-021-0/+2
| | | | Mostly useful for folding docstrings
* Improve python/indents.scmJędrzej Boczar2020-12-211-7/+29
|
* Python: fix self highlighingSantos Gallegos2020-12-181-1/+1
|
* Update indents.scmEvan2020-12-181-0/+2
|
* Create indents.scm for pythonEvan2020-12-181-0/+14
|
* Update Python queriesStephan Seitz2020-11-302-12/+40
|
* Python highlights: Fix #688 (definition.associated -> field)Stephan Seitz2020-11-231-1/+1
|
* Fix Python queries for parser updateStephan Seitz2020-11-032-13/+13
|
* Dart highlights: Reset highlight in interpolationStephan Seitz2020-10-051-1/+1
|
* Remove textobjects moduleStephan Seitz2020-10-041-56/+0
|
* Python locals: account for ↵Stephan Seitz2020-09-211-8/+6
| | | | https://github.com/tree-sitter/tree-sitter-python/pull/83
* fix(python): use `@Normal` again for f-strings `@none` is not aggressive enoughStephan Seitz2020-09-191-1/+1
|
* Add @keyword.operator for operators that are English words and add ↵Stephan Seitz2020-09-191-4/+7
| | | | @exception for Java/JS
* Remove @definition.doc capturesSantos Gallegos2020-09-171-2/+1
| | | | | | These aren't really definitions and are being show in the definitions list. We aren't using them at the moment, we could use another group or query file.
* reset python interpolation nodekiyan422020-09-151-1/+1
|
* Fix #307: Use and document TSVariable/TSVariableBuiltin in all languagesStephan Seitz2020-09-141-4/+7
|
* Folds: rename query files to folds.scm to be consistentSantos Gallegos2020-09-141-0/+0
| | | | We use plural names for all query files except folds.
* ci: fix wrong queriesThomas Vigouroux2020-09-111-2/+2
|
* Python: update foldsSantos Gallegos2020-09-031-0/+1
| | | | Missed one
* Python: add foldsSantos Gallegos2020-09-031-0/+24
|
* Python highlights: add additional operatorsStephan Seitz2020-08-201-0/+7
| | | | | This is applies the upstream PR to our repo: https://github.com/tree-sitter/tree-sitter-python/pull/73
* Python: fix some highlightsSantos Gallegos2020-08-181-3/+3
| | | | These aren't valid lua patterns
* Python: update highlightsSantos Gallegos2020-08-171-4/+15
| | | | | - Fix "as" outside imports - Add builtin classes and constants
* chore(highlights): remove is predicate usageSteven Sojka2020-08-171-2/+0
|
* Python: update highlightsSantos Gallegos2020-08-161-33/+37
| | | | | | | - Get rid of @self - Highlight methods correctly - Highlight self as the first parameter of a method - Use new syntax (# for predicates, (_) instead of (*) for wildcards)
* Python: update localsSantos Gallegos2020-08-161-7/+9
|
* fix(queries): use vim-match for non lua regexesSteven Sojka2020-08-161-2/+2
|
* feat(highlights): add is predicateSteven Sojka2020-08-162-8/+10
|
* Python highlights: Highlight ->, ...Stephan Seitz2020-08-141-1/+2
|
* Python: update textobjects queriesSantos Gallegos2020-08-041-1/+22
|
* Fix #198: prefer method highlighting over attributeStephan Seitz2020-07-221-4/+4
|
* Python highlights: add lambda parametersStephan Seitz2020-07-221-0/+6
|
* Python highlights: highlight functions with self as methods (#198)Stephan Seitz2020-07-201-0/+13
| | | | Also highlight __init__/__new__ as constructor
* Python textobjects: Include @decorators and improve @conditional.innerStephan Seitz2020-07-151-2/+10
|
* 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