diff options
| author | Stephan Seitz <stephan.seitz@fau.de> | 2020-07-08 17:35:12 +0200 |
|---|---|---|
| committer | Thomas Vigouroux <39092278+vigoux@users.noreply.github.com> | 2020-07-08 17:47:44 +0200 |
| commit | dc324e44ad6ffc0f2089549afa6ba0fa2ba2f7f6 (patch) | |
| tree | a4f64120653b54f0ba0162214b26097e617b5030 /queries/python/highlights.scm | |
| parent | 0d2385407eddb95e66a43710798f27bd9256186a (diff) | |
Python locals/highlights: Parameters can be optionally typed
Diffstat (limited to 'queries/python/highlights.scm')
| -rw-r--r-- | queries/python/highlights.scm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/queries/python/highlights.scm b/queries/python/highlights.scm index fb316bea..b41d3689 100644 --- a/queries/python/highlights.scm +++ b/queries/python/highlights.scm @@ -66,6 +66,10 @@ ; Naming parameters on call-site (default_parameter name: (identifier) @parameter) +(typed_parameter + (identifier) @parameter) +(typed_default_parameter + (identifier) @parameter) ; Variadic parameters *args, **kwargs (parameters (list_splat ; *args |
