summaryrefslogtreecommitdiff
path: root/runtime/queries/python
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries/python')
-rw-r--r--runtime/queries/python/textobjects.scm6
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/queries/python/textobjects.scm b/runtime/queries/python/textobjects.scm
index 0ca26089..5c6a61d1 100644
--- a/runtime/queries/python/textobjects.scm
+++ b/runtime/queries/python/textobjects.scm
@@ -5,13 +5,13 @@
body: (block)? @class.inside) @class.around
(parameters
- (_) @parameter.inside)
+ ((_) @parameter.inside . ","? @parameter.around) @parameter.around)
(lambda_parameters
- (_) @parameter.inside)
+ ((_) @parameter.inside . ","? @parameter.around) @parameter.around)
(argument_list
- (_) @parameter.inside)
+ ((_) @parameter.inside . ","? @parameter.around) @parameter.around)
(comment) @comment.inside