aboutsummaryrefslogtreecommitdiffstats
path: root/queries/python
diff options
context:
space:
mode:
Diffstat (limited to 'queries/python')
-rw-r--r--queries/python/indents.scm18
1 files changed, 16 insertions, 2 deletions
diff --git a/queries/python/indents.scm b/queries/python/indents.scm
index da37c1f30..c02879712 100644
--- a/queries/python/indents.scm
+++ b/queries/python/indents.scm
@@ -50,14 +50,28 @@
((ERROR "(" . (_)) @aligned_indent
(#set! "delimiter" "()"))
-((argument_list) @aligned_indent
+((argument_list ")" @indent_end) @aligned_indent
(#set! "delimiter" "()"))
((parameters) @aligned_indent