shawn bright wrote:
lo there all.
i found where i can set my tab stop in .vimrc to 4, but i can't seem
to find where to set it to 4 when i have an auto indent.
for example, in python, if i do a
for x in range(20):

it auto indents 8 spaces and i need it to auto indent 4

any tips are appreciated.
thanks


No you don't. The Python language specification includes the requirements that indents are significant and that a one-hard-tab indent is equivalent to 8 spaces. If you ever find yourself facing a Python source with mixed space- and tab-indents, you'll ask yourself why it doesn't compile.


Best regards,
Tony.
--
What this world needs is a good five-dollar plasma weapon.

Reply via email to