From 36a59e4482120e66980b7f8f260a174b82b9415d Mon Sep 17 00:00:00 2001 From: Daniel Ebert Date: Fri, 11 Aug 2023 12:24:37 +0200 Subject: Improve C, Rust & Python indent queries & add @align captures. --- runtime/queries/python/indents.scm | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'runtime/queries/python') diff --git a/runtime/queries/python/indents.scm b/runtime/queries/python/indents.scm index 835b40d3..67bc76ad 100644 --- a/runtime/queries/python/indents.scm +++ b/runtime/queries/python/indents.scm @@ -73,3 +73,12 @@ (else_clause "else" @outdent) +(parameters + . + (identifier) @anchor + (#set! "scope" "tail")) @align +(argument_list + . + (_) @anchor + (#set! "scope" "tail")) @align + -- cgit v1.2.3-70-g09d2