An alternative indentation script for python
Switch branches/tags
Nothing to show
Clone or download
Eric Mc Sween and vim-scripts Version 0.3
Changes:
- Update one shiftwidth instead of aligning with parens that stand at the end of a line.
Latest commit 6aaddfd May 22, 2005
Permalink
Failed to load latest commit information.
indent Version 0.3 Oct 18, 2010
README Version 0.1: Initial upload Oct 18, 2010

README

This is a mirror of http://www.vim.org/scripts/script.php?script_id=974

This indentation script for python tries to match more closely what is suggested in PEP 8 (http://www.python.org/peps/pep-0008.html).  In particular, it handles continuation lines implied by open (parentheses), [brackets] and {braces} correctly and it indents multiline if/for/while statements differently.

Comments are welcome!