[gnome-builder] python: indent more after trailing open paren
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] python: indent more after trailing open paren
- Date: Thu, 8 Jan 2015 11:18:11 +0000 (UTC)
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]