Created June 21, 2012 13:51
Save hynek/2965846 to your computer and use it in GitHub Desktop.
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 --- /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 endifYou can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4