Match indentation of second argument with first argument if the first one on the same line like the opening parenthesis - originally by Steve Losh (original) (raw)

Match indentation of second argument with first argument if the first one on the same line like the opening parenthesis - originally by Steve Losh

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})

--- /Users/hynek/Downloads/python.vim 2012-06-21 15:44:18.000000000 +0200
+++ python.vim 2012-06-21 15:38:52.000000000 +0200
@@ -119,11 +119,7 @@
return indent(parlnum) + &shiftwidth
endif
else
- if closing_paren
- return parcol - 1
- else
- return parcol
- endif
+ return parcol
endif
endif