Skip to content

Instantly share code, notes, and snippets.

@cpdean
Last active August 29, 2015 14:10
Show Gist options
  • Save cpdean/e169bc1dd0dd2245b9fc to your computer and use it in GitHub Desktop.
Save cpdean/e169bc1dd0dd2245b9fc to your computer and use it in GitHub Desktop.
default vim python indentation example
# if you just start typing
def really_long_func_def(
a,
b,
c):
really_long_func_def(
a, # "continuation line over-indented for hanging indent"
b,
c
)
return 1
# expected
def really_long_func_def(
a,
b,
c
):
really_long_func_def(
a,
b,
c
)
return 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment