[Python-Dev] vim (was: PEP 7 updated)

Oleg Broytman phd at phd.pp.ru
Mon May 10 18:40:00 CEST 2010


On Mon, May 10, 2010 at 04:09:06PM +0200, Ronald Oussoren wrote:
> Does anyone know of a way to teach vim that C sources in a python checkout should have 4-space indents without changing the defaults for other C files? 

BufReadPre /usr/local/src/Python/*/*.c set sts=4 sw=4

Oleg.
-- 
     Oleg Broytman            http://phd.pp.ru/            phd at phd.pp.ru
           Programmers don't die, they just GOSUB without RETURN.


More information about the Python-Dev mailing list