|
Sybren Stuvel |
at Dec 20, 2005 at 5:41 pm
|
⇧ |
| |
stephen at theboulets.net enlightened us with:
Found an earlier thread that answered my question:
Good for you.
I often want only one or two levels of indentation at maximum. This
ensures not all if/while/for etc. blocks are indented. Most of my
python files either contain classes (max indent 2) or only functions
(max indent 1). I make sure Vim uses the correct options by adding the
following line as the last line in the Python file:
# vim:foldnestmax=2
Sybren
--
The problem with the world is stupidity. Not saying there should be a
capital punishment for stupidity, but why don't we just take the
safety labels off of everything and let the problem solve itself?
Frank Zappa