summaryrefslogtreecommitdiff
path: root/queries/python
diff options
context:
space:
mode:
authorStephan Seitz <stephan.seitz@fau.de>2022-01-22 14:50:51 +0100
committerStephan Seitz <stephan.seitz@fau.de>2022-02-05 18:54:55 +0100
commit059fbc487c62a5e109143254b720a5dc33201a34 (patch)
tree24fac44f1ef8996b99b9323bcb0178ccca899aea /queries/python
parent62982378b81ce91d5cdf70047113e51e13434286 (diff)
indents: allow aligned_indent for unfinished calls in C and Python
Diffstat (limited to 'queries/python')
-rw-r--r--queries/python/indents.scm2
1 files changed, 2 insertions, 0 deletions
diff --git a/queries/python/indents.scm b/queries/python/indents.scm
index 25f62290..e83b3762 100644
--- a/queries/python/indents.scm
+++ b/queries/python/indents.scm
@@ -32,6 +32,8 @@
condition: (parenthesized_expression) @aligned_indent
(#set! "delimiter" "()")
)
+((ERROR "(" . (_)) @aligned_indent
+ (#set! "delimiter" "()"))
((argument_list) @aligned_indent
(#set! "delimiter" "()"))
((argument_list) @aligned_indent