diff options
Diffstat (limited to 'queries/python/indents.scm')
| -rw-r--r-- | queries/python/indents.scm | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/queries/python/indents.scm b/queries/python/indents.scm index c02879712..cc13587ec 100644 --- a/queries/python/indents.scm +++ b/queries/python/indents.scm @@ -72,6 +72,15 @@ (list_pattern "]" @indent_end) +(return_statement + [ + (_) @indent_end + (_ (_) @indent_end .) + (attribute + attribute: (_) @indent_end) + "return" @indent_end + ] .) + [ ")" "]" |
