Commit graph

18 commits

Author SHA1 Message Date
Stephan Seitz
fbcfa7ebee locals(python): adapt as_pattern to upstream change 2022-02-07 22:36:46 +01:00
Stephan Seitz
c4e3564ea3 highlights(python): add support for pattern matching
Fixes #2080
Depends on https://github.com/tree-sitter/tree-sitter-python/pull/140
2022-01-28 19:11:20 +01:00
Dundar Göc
6a4fdb317d chore: fix typos 2021-11-02 23:47:48 +01:00
Stephan Seitz
1cf7a1ddc9 Python locals: Add new node with_clause 2021-01-07 08:52:41 +01:00
Stephan Seitz
b3a3403e25 Update Python queries 2020-11-30 11:19:22 +01:00
Stephan Seitz
8c4eb15886 Python highlights: Fix #688 (definition.associated -> field) 2020-11-23 21:45:05 +01:00
Stephan Seitz
1e0ab0b885 Fix Python queries for parser update 2020-11-03 20:26:08 +01:00
Stephan Seitz
58ec0bd7ef Python locals: account for https://github.com/tree-sitter/tree-sitter-python/pull/83 2020-09-21 22:56:01 +02:00
Santos Gallegos
68d8f4c02e Remove @definition.doc captures
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.
2020-09-17 09:18:05 +02:00
Santos Gallegos
ed3469b59f Python: update locals 2020-08-16 21:49:14 +02:00
Steven Sojka
579c9936d6 feat(highlights): add is predicate 2020-08-16 09:04:07 -05:00
Stephan Seitz
a5fb463309 Python locals: with_statement can define variables 2020-07-09 14:38:08 +02:00
Stephan Seitz
b6df2329bd Introduce @definition.import for Python/Javascript 2020-07-08 18:00:35 +02:00
Stephan Seitz
dc324e44ad Python locals/highlights: Parameters can be optionally typed 2020-07-08 17:47:44 +02:00
Stephan Seitz
dfead6caca Adapt Python highlights to new query syntax 2020-06-24 10:07:22 +02:00
Stephan Seitz
92417aa4ea Update python locals: list_splat and dictionary_splat define variables as parameters 2020-06-02 21:13:09 +02:00
Stephan Seitz
57424533a7 Add python/highlights.scm from tree-sitter-python 2020-05-17 21:56:44 +02:00
Stephan Seitz
a5c50262d9 Add python locals.scm 2020-05-16 19:32:02 +02:00