[gnome-builder] python: indent more after trailing open paren



commit dfa2df51d6d753f02543c3dd1ed21a7f64e75a6d
Author: Christian Hergert <christian hergert me>
Date:   Thu Jan 8 03:18:05 2015 -0800

    python: indent more after trailing open paren

 src/auto-indent/gb-source-auto-indenter-python.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/auto-indent/gb-source-auto-indenter-python.c 
b/src/auto-indent/gb-source-auto-indenter-python.c
index cc90eaa..afe28d8 100644
--- a/src/auto-indent/gb-source-auto-indenter-python.c
+++ b/src/auto-indent/gb-source-auto-indenter-python.c
@@ -278,6 +278,7 @@ gb_source_auto_indenter_python_format (GbSourceAutoIndenter *indenter,
   switch (ch)
     {
     case ':':
+    case '(':
       return indent_colon (python, text_view, begin, end, &iter);
 
     case ',':


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]